Skip to content
Snippets Groups Projects
Commit f3b10a19 authored by Edmund Farrow's avatar Edmund Farrow
Browse files

iss1021 - Update syntax of changed code to match new array coding standards

parent 3d31e33d
No related branches found
No related tags found
No related merge requests found
...@@ -61,12 +61,13 @@ $settings->add(new admin_setting_heading('maixmasettingsheading', ...@@ -61,12 +61,13 @@ $settings->add(new admin_setting_heading('maixmasettingsheading',
$settings->add(new admin_setting_configselect('qtype_stack/platform', $settings->add(new admin_setting_configselect('qtype_stack/platform',
get_string('settingplatformtype', 'qtype_stack'), get_string('settingplatformtype', 'qtype_stack'),
// Note, install.php tries to auto-detect Windows installs, and set the default appropriately. // Note, install.php tries to auto-detect Windows installs, and set the default appropriately.
get_string('settingplatformtype_desc', 'qtype_stack'), null, array( get_string('settingplatformtype_desc', 'qtype_stack'), null, [
'linux' => get_string('settingplatformtypelinux', 'qtype_stack'), 'linux' => get_string('settingplatformtypelinux', 'qtype_stack'),
'linux-optimised' => get_string('settingplatformtypelinuxoptimised', 'qtype_stack'), 'linux-optimised' => get_string('settingplatformtypelinuxoptimised', 'qtype_stack'),
'win' => get_string('settingplatformtypewin', 'qtype_stack'), 'win' => get_string('settingplatformtypewin', 'qtype_stack'),
'server' => get_string('settingplatformtypeserver', 'qtype_stack'), 'server' => get_string('settingplatformtypeserver', 'qtype_stack'),
'server-proxy' => get_string('settingplatformtypeserverproxy', 'qtype_stack')))); 'server-proxy' => get_string('settingplatformtypeserverproxy', 'qtype_stack'),
]));
$settings->add(new admin_setting_configselect('qtype_stack/maximaversion', $settings->add(new admin_setting_configselect('qtype_stack/maximaversion',
get_string('settingcasmaximaversion', 'qtype_stack'), get_string('settingcasmaximaversion', 'qtype_stack'),
......
...@@ -119,7 +119,7 @@ class stack_cas_healthcheck { ...@@ -119,7 +119,7 @@ class stack_cas_healthcheck {
break; break;
case 'server': case 'server':
if (!empty($CFG->proxyhost) && !is_proxybypass(get_config('qtype_stack', 'maximacommandserver'))) { if (!empty($CFG->proxyhost) && !is_proxybypass(get_config('qtype_stack', 'maximacommandserver'))) {
$test = array(); $test = [];
$test['tag'] = 'healthcheckproxysettings'; $test['tag'] = 'healthcheckproxysettings';
$test['result'] = false; $test['result'] = false;
$test['summary'] = stack_string('healthcheckproxysettings'); $test['summary'] = stack_string('healthcheckproxysettings');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment