diff --git a/lang/en/tool_objectfs.php b/lang/en/tool_objectfs.php index 74b383a5..af0ffefb 100644 --- a/lang/en/tool_objectfs.php +++ b/lang/en/tool_objectfs.php @@ -259,7 +259,6 @@ $string['settings:permissioncheckpassed'] = 'Permissions check passed.'; $string['settings:handlernotset'] = '$CFG->alternative_file_system_class is not set, the file system will not be able to read from object storage. Background tasks can still function.'; -$string['settings:testingheader'] = 'Test Settings'; $string['settings:testingdescr'] = 'This setting is mainly for testing purposes and introduces overhead to check the location.'; $string['settings:error:numeric'] = 'Please enter a number which is greater than or equal 0.'; diff --git a/settings.php b/settings.php index aef3c571..b337de57 100644 --- a/settings.php +++ b/settings.php @@ -110,6 +110,9 @@ new lang_string('settings:tokenexpirywarnperiod', 'tool_objectfs'), '', 60 * DAYSECS, DAYSECS)); + $settings->add(new admin_setting_configcheckbox('tool_objectfs/preferexternal', + new lang_string('settings:preferexternal', 'tool_objectfs'), '', '')); + $settings->add(new admin_setting_heading('tool_objectfs/filetransfersettings', new lang_string('settings:filetransferheader', 'tool_objectfs'), '')); @@ -247,10 +250,4 @@ } } } - - $settings->add(new admin_setting_heading('tool_objectfs/testsettings', - new lang_string('settings:testingheader', 'tool_objectfs'), '')); - - $settings->add(new admin_setting_configcheckbox('tool_objectfs/preferexternal', - new lang_string('settings:preferexternal', 'tool_objectfs'), '', '')); }