From a26c09be05a08e5f911ef84b5f8010ba155ea77d Mon Sep 17 00:00:00 2001 From: skodak Date: Wed, 11 Apr 2007 14:01:03 +0000 Subject: [PATCH] MDL-9297 - fixed broken mnet logout caused by my auth refactoring --- 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; }