MDL-9297 - fixed broken mnet logout caused by my auth refactoring

This commit is contained in:
skodak
2007-04-11 14:01:03 +00:00
parent f2c2aeff2d
commit a26c09be05
+1 -1
View File
@@ -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;
}