X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=blobdiff_plain;f=lib%2Fprune%2Fplugins%2Froundcube.rb;h=5869b02cabe20aeb2e78ebc5012173d624427a0b;hp=1bb782700748644905b0fb1141ddd9eb5fb63127;hb=9c2503578bcb8141d13bf4a5af1ef460c70fd219;hpb=72696d3f6e95ef773af9727e9c3459b9038b0fc2;ds=sidebyside diff --git a/lib/prune/plugins/roundcube.rb b/lib/prune/plugins/roundcube.rb index 1bb7827..5869b02 100644 --- a/lib/prune/plugins/roundcube.rb +++ b/lib/prune/plugins/roundcube.rb @@ -4,22 +4,5 @@ require 'prune/prune_plugin' require 'rm/plugins/roundcube' class RoundcubePrune < RoundcubeRm - include PrunePlugin - - - def get_leftover_domains(db_domains) - # Roundcube doesn't have a concept of domains. We could parse the - # usernames to see what domains are present, but the point is - # moot: all leftover users will be pruned anyway. - return [] - end - - - def get_leftover_users(db_users) - # Get a list of all users who have logged in to Roundcube. - rc_users = self.list_users() - return rc_users - db_users - end - end