X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=blobdiff_plain;f=lib%2Fcommon%2Froundcube_plugin.rb;fp=lib%2Fcommon%2Froundcube_plugin.rb;h=8575a11eae4e3ee214ba6a7d1cc317a0c018951a;hp=8e9d62259d78fd9819bc2ef77bc97c3c2b0fa96c;hb=365d681f1ef45bd3f5f2c9dded07108bdd75a1ff;hpb=70aeee01ccb126dcfd6ea12f98d9df9c6b3e7a45 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