/** * @see \wcf\system\user\notification\event\IUserNotificationEvent::checkAccess() */ public function checkAccess() { return EntryDataHandler::getInstance()->getEntry($this->additionalData['objectID'])->canRead(); }
/** * @see \wcf\system\user\notification\event\IUserNotificationEvent::checkAccess() */ public function checkAccess() { return EntryDataHandler::getInstance()->getEntry($this->userNotificationObject->objectID)->canRead(); }
/** * @see \wcf\system\user\notification\event\IUserNotificationEvent::checkAccess() */ public function checkAccess() { $this->userNotificationObject->setEntry(EntryDataHandler::getInstance()->getEntry($this->userNotificationObject->entryID)); return $this->userNotificationObject->canRead(); }