private static function checkSession() { if (Session::exists('session_id') && Session::exists('token')) { return self::checkLogin(Session::getValue('session_id'), Session::getValue('token')); } else { return false; } }
private static function checkSession() { if (Session::exists('session_id') && Session::exists('token')) { return self::checkLogin(Session::getValue('session_id'), Session::getValue('token')); } else { return false; } }