diff --git a/backup/backup_execute.html b/backup/backup_execute.html
index cf0d25e22f3..4480547e067 100644
--- a/backup/backup_execute.html
+++ b/backup/backup_execute.html
@@ -22,7 +22,8 @@
//Check module info
$var = "backup_".$modname;
if (!isset($$var)) {
- $$var = 1;
+ //Every undefined backup_XXXX isn't exported
+ $$var = 0;
}
//Now stores all the mods preferences into an array into preferences
$preferences->mods[$modname]->backup = $$var;
diff --git a/backup/lib.php b/backup/lib.php
index 9e483265b37..1744f61fe7c 100644
--- a/backup/lib.php
+++ b/backup/lib.php
@@ -206,7 +206,7 @@
global $CFG;
//Change this if you want !!
- $days = 1;
+ $days = 2;
//End change this
$seconds = $days * 24 * 60 * 60;
$delete_from = time()-$seconds;