]>
gitweb.michael.orlitzky.com - mailshears.git/blob - lib/prune/plugins/roundcube.rb
77eacfcb6fe5f1f09722769aaa82360c68c53334
3 require 'prune/prune_plugin'
4 require 'rm/plugins/roundcube'
6 class RoundcubePrune
< RoundcubeRm
11 def get_leftover_domains(db_domains
)
12 # Roundcube doesn't have a concept of domains. We could parse the
13 # usernames to see what domains are present, but the point is
14 # moot: all leftover accounts will be pruned anyway.
19 def get_leftover_accounts(db_accounts
)
20 # Get a list of all users who have logged in to Roundcube.
21 rc_accounts
= self.list__users()
22 return rc_accounts
- db_accounts