From 495880c817bb27b0e8bd2e1ba6686bfe82c04a6e Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 7 Mar 2012 15:46:21 -0600 Subject: [PATCH] autoload for SpamAction and SpamNoticeStream --- ActivitySpamPlugin.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ActivitySpamPlugin.php b/ActivitySpamPlugin.php index b429a3ef9d..faf2ad0ca5 100644 --- a/ActivitySpamPlugin.php +++ b/ActivitySpamPlugin.php @@ -105,12 +105,14 @@ class ActivitySpamPlugin extends Plugin switch ($cls) { case 'TrainAction': + case 'SpamAction': include_once $dir . '/' . strtolower(mb_substr($cls, 0, -6)) . '.php'; return false; case 'Spam_score': include_once $dir . '/'.$cls.'.php'; return false; case 'SpamFilter': + case 'SpamNoticeStream': case 'TrainSpamForm': case 'TrainHamForm': include_once $dir . '/'.strtolower($cls).'.php'; -- 2.39.5