Esempio n. 1
0
 private static function _do_user($user)
 {
     // Set the user.
     unset($user['UsersPassword']);
     Me::set($user);
     // Set the account.
     $account_id = Session::get('AccountId');
     Me::set_account(\Accounts::get_by_id($account_id));
 }