X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=blobdiff_plain;f=lib%2Frm%2Fplugins%2Froundcube_db.rb;h=5687ce436ea76cca659f66cd00b6825499ae43b1;hp=252ce32688cbb82faa81f42b5522ac8abf73cc7b;hb=483d14dc8228a81d12fb109d3ed6510e2d2b03c1;hpb=51f027b01e242737956c3ab5aecdd322d6ceeeed diff --git a/lib/rm/plugins/roundcube_db.rb b/lib/rm/plugins/roundcube_db.rb index 252ce32..5687ce4 100644 --- a/lib/rm/plugins/roundcube_db.rb +++ b/lib/rm/plugins/roundcube_db.rb @@ -8,10 +8,6 @@ class RoundcubeDbRm include RoundcubeDbPlugin include RmPlugin - def delete_domain(domain) - # Roundcube doesn't have a concept of domains. - end - def delete_account(account) # Delete the given username and any records in other tables # belonging to it. @@ -50,15 +46,4 @@ class RoundcubeDbRm end - - - def get_domain_usernames(domain) - usernames = get_roundcube_usernames(); - matches = usernames.select do |username| - username =~ /@#{domain}$/ - end - - return matches - end - end