user id

  1. CMTV

    XF 2.0 The purpose of if($this->user_id)

    Hi! I wonder why some can...() methods do check existence of user ID and some do not in User entity class? public function canViewWarnings() { return ($this->user_id && $this->hasPermission('general', 'viewWarning')); } public function canViewMemberList() { return...
Top Bottom