X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=blobdiff_plain;f=lib%2Frm%2Frm_runner.rb;h=114aabc355ad1c215f0b95e3cf1f20a2a626ea4d;hp=0392d1192acbac86218c0813218e37b5b5c56929;hb=bd2dabf89ab277fbe315b05e6dfa839afb5ce5ef;hpb=51f027b01e242737956c3ab5aecdd322d6ceeeed diff --git a/lib/rm/rm_runner.rb b/lib/rm/rm_runner.rb index 0392d11..114aabc 100644 --- a/lib/rm/rm_runner.rb +++ b/lib/rm/rm_runner.rb @@ -20,13 +20,6 @@ class RmRunner end else begin - # We must delete all accounts belonging to the domain first. - # This prevents us from leaving behind accounts. Not a - # problem with the mailstore, since we'll delete the domain - # directory anyway, but it is for the database plugins. - usernames = plugin.get_domain_usernames(target) - usernames.each { |u| run(plugin, u) } - domain_description = plugin.describe_domain(target) plugin.delete_domain(target) report(plugin, "Removed domain: #{target} (#{domain_description})")