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=483d14dc8228a81d12fb109d3ed6510e2d2b03c1;hpb=e7fa62fc599b7583102fe48fbaad3db4f911a6da 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})")