]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
autoload for SpamAction and SpamNoticeStream
authorEvan Prodromou <evan@status.net>
Wed, 7 Mar 2012 21:46:21 +0000 (15:46 -0600)
committerEvan Prodromou <evan@status.net>
Wed, 7 Mar 2012 21:46:21 +0000 (15:46 -0600)
ActivitySpamPlugin.php

index b429a3ef9de50f31611f40022d69dce882024279..faf2ad0ca5a5304d4b52a83d8c815a3ae049a800 100644 (file)
@@ -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';