mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Make logout work without needing openssl MDL-8070
This commit is contained in:
parent
defd0467f4
commit
81693ac7f1
@ -1792,9 +1792,11 @@ function require_logout() {
|
||||
require($CFG->dirroot.'/auth/cas/logout.php');
|
||||
}
|
||||
|
||||
require($CFG->dirroot.'/auth/mnet/auth.php');
|
||||
$authplugin = new auth_plugin_mnet();
|
||||
$authplugin->logout();
|
||||
if (extension_loaded('openssl')) {
|
||||
require($CFG->dirroot.'/auth/mnet/auth.php');
|
||||
$authplugin = new auth_plugin_mnet();
|
||||
$authplugin->logout();
|
||||
}
|
||||
}
|
||||
|
||||
if (ini_get_bool("register_globals") and check_php_version("4.3.0")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user