use accessors for NLI
This commit is contained in:
parent
6b6ede8598
commit
e18d45cf66
@ -174,8 +174,8 @@ class ActivitySpamPlugin extends Plugin
|
|||||||
|
|
||||||
function onStartShowNoticeOptions($nli)
|
function onStartShowNoticeOptions($nli)
|
||||||
{
|
{
|
||||||
$notice = $nli->notice;
|
$notice = $nli->getNotice();
|
||||||
$out = $nli->out;
|
$out = $nli->getOut();
|
||||||
|
|
||||||
if (!empty($notice)) {
|
if (!empty($notice)) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user