X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=blobdiff_plain;f=lib%2Fcommon%2Froundcube_db_plugin.rb;h=df5413fdb0cc7a797dc2fd1f7070f3809b7f2abc;hp=e4e9e7fb73471d4115cd6694527a43bb139cc293;hb=bd2dabf89ab277fbe315b05e6dfa839afb5ce5ef;hpb=51f027b01e242737956c3ab5aecdd322d6ceeeed diff --git a/lib/common/roundcube_db_plugin.rb b/lib/common/roundcube_db_plugin.rb index e4e9e7f..df5413f 100644 --- a/lib/common/roundcube_db_plugin.rb +++ b/lib/common/roundcube_db_plugin.rb @@ -19,7 +19,7 @@ module RoundcubeDbPlugin def describe_domain(domain) # Roundcube doesn't have a concept of domains. - return 'N/A' + return domain end def describe_account(account) @@ -66,8 +66,8 @@ module RoundcubeDbPlugin end - # Uses in both prune/rm. - def get_roundcube_usernames() + # Used in both prune/rm. + def list_users() usernames = [] # Just assume PostgreSQL for now.