X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=blobdiff_plain;f=lib%2Fcommon%2Fpostfixadmin_plugin.rb;fp=lib%2Fcommon%2Fpostfixadmin_plugin.rb;h=7a1985202cc343af0301518dc9a9e94abf03c799;hp=4bfda9dcdece7e7216856b17ff96745c031313e7;hb=365d681f1ef45bd3f5f2c9dded07108bdd75a1ff;hpb=70aeee01ccb126dcfd6ea12f98d9df9c6b3e7a45 diff --git a/lib/common/postfixadmin_plugin.rb b/lib/common/postfixadmin_plugin.rb index 4bfda9d..7a19852 100644 --- a/lib/common/postfixadmin_plugin.rb +++ b/lib/common/postfixadmin_plugin.rb @@ -6,9 +6,7 @@ module PostfixadminPlugin # share. That is, we implement the Plugin interface. include Plugin - def initialize() - - cfg = Configuration.new() + def initialize(cfg) @db_host = cfg.postfixadmin_dbhost @db_port = cfg.postfixadmin_dbport @db_opts = cfg.postfixadmin_dbopts