From: Evan Prodromou Date: Sat, 5 May 2012 02:16:46 +0000 (-0400) Subject: Let DB_DataObject find Spam_score X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a504d2aee28549881bcbedf941236530f199ea69;p=quix0rs-gnu-social.git Let DB_DataObject find Spam_score --- diff --git a/plugins/ActivitySpam/ActivitySpamPlugin.php b/plugins/ActivitySpam/ActivitySpamPlugin.php index 70e2c13d61..9c1f633260 100644 --- a/plugins/ActivitySpam/ActivitySpamPlugin.php +++ b/plugins/ActivitySpam/ActivitySpamPlugin.php @@ -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; }