]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Whoops! Append didn't work
authorEvan Prodromou <evan@status.net>
Sat, 5 May 2012 02:20:47 +0000 (22:20 -0400)
committerEvan Prodromou <evan@status.net>
Sat, 5 May 2012 02:20:47 +0000 (22:20 -0400)
plugins/ActivitySpam/ActivitySpamPlugin.php

index 9c1f63326033b0780d72705b4f666ebcc7bff12d..e9c481e3bc7487adb3f3f72e002165c5fd1e1bb5 100644 (file)
@@ -67,7 +67,8 @@ class ActivitySpamPlugin extends Plugin
 
         // Let DB_DataObject find Spam_score
 
-        common_config_append('db', 'class_location', ':'.dirname(__FILE__));
+        common_config_set('db', 'class_location', 
+                          common_config('db', 'class_location') .':'.dirname(__FILE__));
 
         return true;
     }