Skip to content

Commit

Permalink
Issue #633: Move preferexternal setting
Browse files Browse the repository at this point in the history
  • Loading branch information
petersistrom committed Sep 19, 2024
1 parent 3d2ce66 commit 1e2ecdb
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'), ''));

Expand Down Expand Up @@ -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'), '', ''));
}

0 comments on commit 1e2ecdb

Please sign in to comment.