From f0d8df4f1e1b4c59c564ed2f59bea42372e6248c Mon Sep 17 00:00:00 2001 From: Tobias Reischmann <tobias.reischmann@wi.uni-muenster.de> Date: Mon, 9 Dec 2019 17:41:13 +0100 Subject: [PATCH] Make type of config field for backup_path to configdirectory --- settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.php b/settings.php index c4dd329..c2a265c 100644 --- a/settings.php +++ b/settings.php @@ -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')); -- GitLab