]> git.mjollnir.org Git - moodle.git/commitdiff
Change default value for backup_sche_keep to be one day.
authormoodler <moodler>
Tue, 30 Dec 2003 03:56:32 +0000 (03:56 +0000)
committermoodler <moodler>
Tue, 30 Dec 2003 03:56:32 +0000 (03:56 +0000)
(As the path of least impact on server resources)

backup/backup_scheduled.php
backup/config.html

index eaf29f021425828a0882ff4360da2ae223de5b37..225dc37fe8b2aa4cd10bfdeb2402378729752d02 100644 (file)
@@ -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;
         }
     }
 
index 1b55d4c7b8649cd1fc8f0c84025ef52adf36aee5..09e2e74c7525bf5d42dba5eda9a637251f54c5df 100644 (file)
@@ -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