forked from GNUsocial/gnu-social
use accessors for NLI
This commit is contained in:
parent
6b6ede8598
commit
e18d45cf66
@ -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)) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user