Esempio n. 1
0
 /**
  * Destroys user data
  * 
  * @access   private
  * @static   WoW_Account::DestroyUserData()
  * @category Account Manager Class
  * @return   bool
  **/
 private static function DestroyUserData()
 {
     self::$userid = 0;
     self::$username = null;
     self::$password = null;
     self::$sha_pass_hash = null;
     self::$login_state = ACCMGR_LOGGED_OFF;
     self::$login_time = 0;
     self::$email = null;
     self::$gm_level = 0;
     self::$last_error_code = ERROR_NONE;
     self::$characters_data = array();
     self::$first_name = null;
     self::$last_name = null;
     self::$bnet_id = 0;
     self::$is_banned = false;
     self::$expansion = 0;
     return true;
 }