]>
gitweb.michael.orlitzky.com - mailshears.git/blob - lib/rm/rm_plugin.rb
1 require 'common/plugin.rb'
5 # Plugins for the removal of users.
14 def self.dummy_runner()
18 def delete_domain(domain
)
19 # Delete the given domain. Some plugins don't have a concept of
20 # domains, so just delete all users with a username that looks
21 # like it's in the given domain.
22 usernames
= list_domains_users([domain
])
24 raise NonexistentDomainError
.new(domain
) if usernames
.empty
?
32 # Delete the given user.
33 raise NotImplementedError