public static function logout($parameters) { if (\OC::$server->getConfig()->getAppValue('user_cas', 'cas_disable_logout', false)) { return true; } $casBackend = OC_USER_CAS::getInstance(); if (phpCAS::isAuthenticated()) { phpCAS::logout(); } return true; }
public static function logout($parameters) { $casBackend = OC_USER_CAS::getInstance(); if (phpCAS::isAuthenticated()) { phpCAS::logout(); } return true; }