/** * Try to set account from request */ public static function setAccountFromRequest() { if (empty(self::$Account)) { self::$Account = AccountHandler::getDataForId(SharedLinker::getUserId()); } }