public static function logout() { SJB_Session::unsetValue('sn'); if (self::$oSocialPlugin) { return self::$oSocialPlugin->logout(); } return null; }