From: Michael Orlitzky Date: Wed, 6 Nov 2013 14:10:16 +0000 (-0500) Subject: Update PruneDummyRunner to pass a Configuration to PostfixadminPrune. X-Git-Tag: 0.0.1~73 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=4474bdbd826cc6bd28d0bb6494027059e395f59f;p=mailshears.git Update PruneDummyRunner to pass a Configuration to PostfixadminPrune. --- diff --git a/lib/prune/prune_dummy_runner.rb b/lib/prune/prune_dummy_runner.rb index 4274bef..158ed5f 100644 --- a/lib/prune/prune_dummy_runner.rb +++ b/lib/prune/prune_dummy_runner.rb @@ -10,7 +10,8 @@ class PruneDummyRunner # We don't want to check the PostfixAdmin database against itself. return if plugin.class == PostfixadminPrune - pfa = PostfixadminPrune.new() + cfg = Configuration.new() + pfa = PostfixadminPrune.new(cfg) db_users = pfa.list_users() db_domains = pfa.list_domains()