Permalink
Browse files

mnet: check for the _right_ varname before warning about mnet being off

  • Loading branch information...
1 parent 79b84c9 commit 7580ce94efa72dfcde11edb1e85fc9f141b3414e martinlanghoff committed Jan 18, 2007
Showing with 4 additions and 4 deletions.
  1. +1 −1 admin/mnet/access_control.php
  2. +1 −1 admin/mnet/peers.html
  3. +1 −1 auth/mnet/config.html
  4. +1 −1 enrol/mnet/config.html
@@ -124,7 +124,7 @@
print_box(get_string('ssoacldescr','mnet'));
// Are the needed bits enabled?
$warn = '';
-if (empty($CFG->mnet_mode) || $CFG->mnet_mode !== 'strict') {
+if (empty($CFG->mnet_dispatcher_mode) || $CFG->mnet_dispatcher_mode !== 'strict') {
$warn = '<p>' . get_string('mnetdisabled','mnet') .'</p>';
}
if (empty($CFG->auth_plugins_enabled)) {
View
@@ -1,7 +1,7 @@
<?php
admin_externalpage_print_header($adminroot);
-if (empty($CFG->mnet_mode) || $CFG->mnet_mode !== 'strict') {
+if (empty($CFG->mnet_dispatcher_mode) || $CFG->mnet_dispatcher_mode !== 'strict') {
print_box(get_string('mnetdisabled','mnet'));
}
?>
View
@@ -10,7 +10,7 @@
$yesno = array(get_string('no'), get_string('yes'));
-if (empty($CFG->mnet_mode) || $CFG->mnet_mode !== 'strict') {
+if (empty($CFG->mnet_dispatcher_mode) || $CFG->mnet_dispatcher_mode !== 'strict') {
print_box(get_string('mnetdisabled','mnet'));
}
View
@@ -1,6 +1,6 @@
<?php
-if (empty($CFG->mnet_mode) || $CFG->mnet_mode !== 'strict') {
+if (empty($CFG->mnet_dispatcher_mode) || $CFG->mnet_dispatcher_mode !== 'strict') {
print_box(get_string('mnetdisabled','mnet'));
}

0 comments on commit 7580ce9

Please sign in to comment.