X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FBaseNotifications.php;h=117530d2567fd1df738e82578e27268a4d8b0b3a;hb=96d2cddb54f3ea3ead6e43e5ca1f814ed6327987;hp=a011961b67ede1026b6ce2737c1b4ba71dedb373;hpb=1a0b63659b0bbab0c09e579ef89f2e5eb25fbb3c;p=friendica.git diff --git a/src/Module/BaseNotifications.php b/src/Module/BaseNotifications.php index a011961b67..117530d256 100644 --- a/src/Module/BaseNotifications.php +++ b/src/Module/BaseNotifications.php @@ -1,6 +1,6 @@ getLocalUserId()) { + if (!$session->getLocalUserId()) { throw new ForbiddenException($this->t('Permission denied.')); } @@ -158,7 +158,7 @@ abstract class BaseNotifications extends BaseModule /** * List of pages for the Notifications TabBar * - * @return array with with notifications TabBar data + * @return array with notifications TabBar data * @throws Exception */ private function getTabs()