MDL-9297 - fixed broken mnet logout caused by my auth refactoring; merged from MOODLE_18_STABLE

This commit is contained in:
skodak 2007-04-11 14:01:59 +00:00
parent 7e040a15ed
commit 23a947985b

View File

@ -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;
} }