]> gitweb.michael.orlitzky.com - mailshears.git/commitdiff
Update PruneDummyRunner to pass a Configuration to PostfixadminPrune.
authorMichael Orlitzky <michael@orlitzky.com>
Wed, 6 Nov 2013 14:10:16 +0000 (09:10 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Wed, 6 Nov 2013 14:10:16 +0000 (09:10 -0500)
lib/prune/prune_dummy_runner.rb

index 4274bef8f08db79990e9e98cc42e15d2c129619e..158ed5f005bef8ceefdfe6c5a0c4469137ddb510 100644 (file)
@@ -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()