From: moodler Date: Tue, 30 Dec 2003 03:56:32 +0000 (+0000) Subject: Change default value for backup_sche_keep to be one day. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=4cd327fb2698987dbed5fafea9786de5a1398f59;p=moodle.git Change default value for backup_sche_keep to be one day. (As the path of least impact on server resources) --- diff --git a/backup/backup_scheduled.php b/backup/backup_scheduled.php index eaf29f0214..225dc37fe8 100644 --- a/backup/backup_scheduled.php +++ b/backup/backup_scheduled.php @@ -267,7 +267,7 @@ function schedule_backup_course_configure($course,$starttime = 0) { $backup_config->backup_sche_destination = ""; } if (!isset($backup_config->backup_sche_keep)) { - $backup_config->backup_sche_keep = 0; + $backup_config->backup_sche_keep = 1; } } diff --git a/backup/config.html b/backup/config.html index 1b55d4c7b8..09e2e74c75 100644 --- a/backup/config.html +++ b/backup/config.html @@ -48,7 +48,7 @@ $backup_config->backup_sche_destination = ""; } if (!isset($backup_config->backup_sche_keep)) { - $backup_config->backup_sche_keep = 0; + $backup_config->backup_sche_keep = 1; } //print_object($backup_config); //Debug