From 23a947985b21b40c774fe95df2b85ac04b837199 Mon Sep 17 00:00:00 2001 From: skodak Date: Wed, 11 Apr 2007 14:01:59 +0000 Subject: [PATCH] MDL-9297 - fixed broken mnet logout caused by my auth refactoring; merged from MOODLE_18_STABLE --- auth/mnet/auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/mnet/auth.php b/auth/mnet/auth.php index 3359b554283..8ecf7042c58 100644 --- a/auth/mnet/auth.php +++ b/auth/mnet/auth.php @@ -1006,7 +1006,7 @@ class auth_plugin_mnet extends auth_plugin_base { */ function prelogout_hook() { global $MNET, $CFG, $USER; - if ($USER->auth != 'mnet') { + if (!is_enabled_auth('mnet')) { return; }