예제 #1
0
 public function become_user_from_session($sessid)
 {
     $details = self::check_user_session($sessid);
     if ($details) {
         self::$currentuser = $details->personnel_id;
         self::$currentpermissions = $details->access_rights;
     }
 }