]>
gitweb.michael.orlitzky.com - mailshears.git/blob - lib/prune/prune_plugin.rb
7 # Plugins for the removal of leftover non-PostfixAdmin users,
8 # i.e. after an user has been removed from the PostfixAdmin
12 def PrunePlugin
.included(c
)
13 # Callback, called whenever another class or module includes this
14 # one. The parameter given is the name of the class or module
20 def PrunePlugin
.includers
29 return PruneDummyRunner
32 def get_leftover_domains(db_domains
)
33 # Given a list of domains, determine which domains belonging to
34 # this plugin are not contained in the given list.
35 raise NotImplementedError
38 def get_leftover_users(db_users
)
39 # Given a list of users, determine which users belonging to
40 # this plugin are not contained in the given list.
41 raise NotImplementedError