X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=blobdiff_plain;f=lib%2Fprune%2Fplugins%2Froundcube_db.rb;fp=lib%2Fprune%2Fplugins%2Froundcube_db.rb;h=0000000000000000000000000000000000000000;hp=6515a7b644533bb8b3aca03e3740f8116f163e13;hb=7f8654ed6582062a295e1be75ae70e99de41b323;hpb=bd2dabf89ab277fbe315b05e6dfa839afb5ce5ef diff --git a/lib/prune/plugins/roundcube_db.rb b/lib/prune/plugins/roundcube_db.rb deleted file mode 100644 index 6515a7b..0000000 --- a/lib/prune/plugins/roundcube_db.rb +++ /dev/null @@ -1,25 +0,0 @@ -require 'pg' - -require 'common/roundcube_db_plugin' -require 'prune/prune_plugin' -require 'rm/plugins/roundcube_db' - -class RoundcubeDbPrune < RoundcubeDbRm - - include RoundcubeDbPlugin - include PrunePlugin - - - def get_leftover_domains(db_domains) - # Roundcube doesn't have a concept of domains. - return [] - end - - - def get_leftover_accounts(db_accounts) - # Get a list of all users who have logged in to Roundcube. - rc_accounts = self.get_roundcube_usernames() - return rc_accounts - db_accounts - end - -end