Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 7580ce94efa72dfcde11edb1e85fc9f141b3414e 1 parent 79b84c9
martinlanghoff authored
View
2  admin/mnet/access_control.php
@@ -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
2  admin/mnet/peers.html
@@ -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
2  auth/mnet/config.html
@@ -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
2  enrol/mnet/config.html
@@ -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'));
}
Please sign in to comment.
Something went wrong with that request. Please try again.