X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=blobdiff_plain;f=lib%2Fcommon%2Froundcube_plugin.rb;h=8575a11eae4e3ee214ba6a7d1cc317a0c018951a;hp=8e9d62259d78fd9819bc2ef77bc97c3c2b0fa96c;hb=4474bdbd826cc6bd28d0bb6494027059e395f59f;hpb=7f8654ed6582062a295e1be75ae70e99de41b323 diff --git a/lib/common/roundcube_plugin.rb b/lib/common/roundcube_plugin.rb index 8e9d622..8575a11 100644 --- a/lib/common/roundcube_plugin.rb +++ b/lib/common/roundcube_plugin.rb @@ -5,8 +5,7 @@ module RoundcubePlugin # That is, we implement the Plugin interface. include Plugin - def initialize() - cfg = Configuration.new() + def initialize(cfg) @db_host = cfg.roundcube_dbhost @db_port = cfg.roundcube_dbport @db_opts = cfg.roundcube_dbopts