From: skodak Date: Wed, 11 Apr 2007 14:01:59 +0000 (+0000) Subject: MDL-9297 - fixed broken mnet logout caused by my auth refactoring; merged from MOODLE... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=23a947985b21b40c774fe95df2b85ac04b837199;p=moodle.git MDL-9297 - fixed broken mnet logout caused by my auth refactoring; merged from MOODLE_18_STABLE --- diff --git a/auth/mnet/auth.php b/auth/mnet/auth.php index 3359b55428..8ecf7042c5 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; }