]> git.mjollnir.org Git - moodle.git/commitdiff
Included backup's cron function (not implemented)
authorstronk7 <stronk7>
Fri, 12 Dec 2003 19:36:52 +0000 (19:36 +0000)
committerstronk7 <stronk7>
Fri, 12 Dec 2003 19:36:52 +0000 (19:36 +0000)
backup/backup_scheduled.php

index 47bf7469a1f8c5ed9999c2d2f7e08d821f6a84c7..4deabb14301795ba92ccb77d21866e41d4815898 100644 (file)
@@ -1,6 +1,18 @@
 <?PHP //$Id$
     //This file contains all the code needed to execute scheduled backups
 
+//This function is executed via moodle cron
+//It prepares all the info and execute backups as necessary
+function schedule_backup_cron() {
+
+    global $CFG;
+    
+    $status = true;
+
+}
+
+
+
 //This function implements all the needed code to prepare a course
 //to be in backup (insert temp info into backup temp tables).
 function schedule_backup_course_configure($course) {