use accessors for NLI

This commit is contained in:
Evan Prodromou 2012-03-07 16:07:34 -06:00
parent 6b6ede8598
commit e18d45cf66

View 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)) {