From a504d2aee28549881bcbedf941236530f199ea69 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 4 May 2012 22:16:46 -0400 Subject: [PATCH] Let DB_DataObject find Spam_score --- plugins/ActivitySpam/ActivitySpamPlugin.php | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- 2.39.5