Let DB_DataObject find Spam_score

This commit is contained in:
Evan Prodromou 2012-05-04 22:16:46 -04:00
parent 961607bc5d
commit a504d2aee2

View File

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