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=483d14dc8228a81d12fb109d3ed6510e2d2b03c1;hpb=e7fa62fc599b7583102fe48fbaad3db4f911a6da 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.