* @see \wcf\system\condition\INoticeCondition::showNotice()
*/
public function showNotice(Condition $condition) {
- if (!WCF::getUser()->userID) return;
+ if (!WCF::getUser()->userID) return false;
return $this->checkUser($condition, WCF::getUser());
}
* @see \wcf\system\condition\INoticeCondition::showNotice()
*/
public function showNotice(Condition $condition) {
- if (!WCF::getUser()->userID) return;
+ if (!WCF::getUser()->userID) return false;
return $this->checkUser($condition, WCF::getUser());
}
* @see \wcf\system\condition\INoticeCondition::showNotice()
*/
public function showNotice(Condition $condition) {
- if (!WCF::getUser()->userID) return;
+ if (!WCF::getUser()->userID) return false;
return $this->checkUser($condition, WCF::getUser());
}
* @see \wcf\system\condition\INoticeCondition::showNotice()
*/
public function showNotice(Condition $condition) {
- if (!WCF::getUser()->userID) return;
+ if (!WCF::getUser()->userID) return false;
return $this->checkUser($condition, WCF::getUser());
}