mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-9297 - fixed broken mnet logout caused by my auth refactoring; merged from MOODLE_18_STABLE
This commit is contained in:
parent
7e040a15ed
commit
23a947985b
@ -1006,7 +1006,7 @@ class auth_plugin_mnet extends auth_plugin_base {
|
|||||||
*/
|
*/
|
||||||
function prelogout_hook() {
|
function prelogout_hook() {
|
||||||
global $MNET, $CFG, $USER;
|
global $MNET, $CFG, $USER;
|
||||||
if ($USER->auth != 'mnet') {
|
if (!is_enabled_auth('mnet')) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user