]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Let DB_DataObject find Spam_score
authorEvan Prodromou <evan@status.net>
Sat, 5 May 2012 02:16:46 +0000 (22:16 -0400)
committerEvan Prodromou <evan@status.net>
Sat, 5 May 2012 02:16:46 +0000 (22:16 -0400)
plugins/ActivitySpam/ActivitySpamPlugin.php

index 70e2c13d614eafb00599ab93986a6ee68918b839..9c1f63326033b0780d72705b4f666ebcc7bff12d 100644 (file)
@@ -65,6 +65,10 @@ class ActivitySpamPlugin extends Plugin
 
         $this->hideSpam = common_config('activityspam', 'hidespam');
 
+        // Let DB_DataObject find Spam_score
+
+        common_config_append('db', 'class_location', ':'.dirname(__FILE__));
+
         return true;
     }