X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FBaseNotifications.php;h=d7319fa4ea37681c1e4fcc135f79bf87a7541669;hb=733f3de9ed0955035898646972ae18cbff5b45d3;hp=0e39eb651df33cf6a6e36e66e04bddc26c826110;hpb=0b6e0566d75e145afb92dca61325fd423ed6f2eb;p=friendica.git diff --git a/src/Module/BaseNotifications.php b/src/Module/BaseNotifications.php index 0e39eb651d..d7319fa4ea 100644 --- a/src/Module/BaseNotifications.php +++ b/src/Module/BaseNotifications.php @@ -1,6 +1,6 @@ t('Permission denied.')); @@ -98,11 +101,9 @@ abstract class BaseNotifications extends BaseModule $this->firstItemNum = ($page * self::ITEMS_PER_PAGE) - self::ITEMS_PER_PAGE; $this->showAll = ($_REQUEST['show'] ?? '') === 'all'; - - $this->args = $args; } - public function rawContent() + protected function rawContent(array $request = []) { // If the last argument of the query is NOT json, return if ($this->args->get($this->args->getArgc() - 1) !== 'json') {