]> gitweb.michael.orlitzky.com - mailshears.git/blobdiff - lib/mailshears/plugins/roundcube_db.rb
Switch from constants to variables in the Configuration module. This should keep...
[mailshears.git] / lib / mailshears / plugins / roundcube_db.rb
index cb2e055f44f9b720ca436a510e6f7c0fb85bfadf..c86d31460e93d96395d4cc29e0849f9a15803ae0 100644 (file)
@@ -5,13 +5,13 @@ class RoundcubeDb
   include Plugin
 
   def initialize()
-    @db_host = Configuration::ROUNDCUBE_DBHOST
-    @db_port = Configuration::ROUNDCUBE_DBPORT
-    @db_opts = Configuration::ROUNDCUBE_DBOPTS
-    @db_tty  = Configuration::ROUNDCUBE_DBTTY
-    @db_name = Configuration::ROUNDCUBE_DBNAME
-    @db_user = Configuration::ROUNDCUBE_DBUSER
-    @db_pass = Configuration::ROUNDCUBE_DBPASS
+    @db_host = Configuration::roundcube_dbhost
+    @db_port = Configuration::roundcube_dbport
+    @db_opts = Configuration::roundcube_dbopts
+    @db_tty  = Configuration::roundcube_dbtty
+    @db_name = Configuration::roundcube_dbname
+    @db_user = Configuration::roundcube_dbuser
+    @db_pass = Configuration::roundcube_dbpass
   end