Beispiel #1
0
 /**
  * reseting the usr in session
  */
 private function _resetUser()
 {
     try {
         $this->_joobiInfoLog("_resetUser()");
         $uid = WUser::get('uid');
         if (empty($uid)) {
             //reload the user
             WUser::get(null, 'reset');
             $usersSessionC = WUser::session();
             $usersSessionC->resetUser();
         }
         //endif
     } catch (Exception $e) {
         throw new Exception("Problem while resetting user");
     }
 }