Skip to content
Snippets Groups Projects
Commit f0d8df4f authored by Tobias Reischmann's avatar Tobias Reischmann
Browse files

Make type of config field for backup_path to configdirectory

parent ccfa3b64
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ if ($hassiteconfig) {
get_string('config_delay_duration_desc', 'tool_lifecycle'),
183 * 24 * 60 * 60)); // Dafault value is 180 days.
$settings->add(new admin_setting_configtext('tool_lifecycle/backup_path',
$settings->add(new admin_setting_configdirectory('tool_lifecycle/backup_path',
get_string('config_backup_path', 'tool_lifecycle'),
get_string('config_backup_path_desc', 'tool_lifecycle'),
$CFG->dataroot . DIRECTORY_SEPARATOR . 'lifecycle_backups'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment