]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
use accessors for NLI
authorEvan Prodromou <evan@status.net>
Wed, 7 Mar 2012 22:07:34 +0000 (16:07 -0600)
committerEvan Prodromou <evan@status.net>
Wed, 7 Mar 2012 22:07:34 +0000 (16:07 -0600)
ActivitySpamPlugin.php

index faf2ad0ca5a5304d4b52a83d8c815a3ae049a800..f68d2ad605884ce1a97ce3498a4e0ed4cd81697d 100644 (file)
@@ -174,8 +174,8 @@ class ActivitySpamPlugin extends Plugin
 
     function onStartShowNoticeOptions($nli)
     {
-        $notice = $nli->notice;
-        $out = $nli->out;
+        $notice = $nli->getNotice();
+        $out = $nli->getOut();
 
         if (!empty($notice)) {