X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=blobdiff_plain;f=lib%2Frm%2Frm_dummy_runner.rb;h=477608f8e77318e535ef671eca0bb7a629a5d0ad;hp=091d32881bb9940f5f72c5ff2f67c3ba0030010e;hb=1159a8065414cf606b4fae524aedcc7063ab1eda;hpb=4e7ef12d3d47aa7ec68419de46c51269c40eb158 diff --git a/lib/rm/rm_dummy_runner.rb b/lib/rm/rm_dummy_runner.rb index 091d328..477608f 100644 --- a/lib/rm/rm_dummy_runner.rb +++ b/lib/rm/rm_dummy_runner.rb @@ -6,11 +6,11 @@ class RmDummyRunner def run(plugin, *targets) targets.each do |target| if target.include?('@') then - user_description = plugin.describe_account(target) - report(plugin, "Would remove user: #{user} (#{user_description})") + user_description = plugin.describe_user(target) + report(plugin, "Would remove user: #{target} (#{user_description})") else domain_description = plugin.describe_domain(target) - report(plugin, "Would remove domain: #{domain} (#{domain_description})") + report(plugin, "Would remove domain: #{target} (#{domain_description})") end end