Commit a0e55b37 authored by Hugh Davenport's avatar Hugh Davenport Committed by Gerrit Code Review
Browse files

Merge "Disable "Show online users" in "Administer institutions" if admin disallows"

parents 9a5000d5 49619251
......@@ -398,6 +398,7 @@ if ($institution || $add) {
);
$elements['showonlineusers'] = array(
'type' => 'select',
'disabled' => get_config('showonlineuserssideblock') ? '' : 'disabled',
'title' => get_string('showonlineusers', 'admin'),
'description' => get_string('showonlineusersdescription','admin'),
'defaultvalue' => $data->showonlineusers,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment