From: Eloy Lafuente Date: Sun, 2 May 2010 18:31:54 +0000 (+0000) Subject: MDL-21432 backup - this is finally out. Any backup / restore should use the API X-Git-Tag: v2.0.0-rc1~3787 X-Git-Url: http://git.moodle.org/gw?p=moodle.git;a=commitdiff_plain;h=de4bf1ff9d6a12d5f77c47362c2de3b6496f026a MDL-21432 backup - this is finally out. Any backup / restore should use the API --- diff --git a/backup/try.php b/backup/try.php deleted file mode 100644 index 6b11c70c30c..00000000000 --- a/backup/try.php +++ /dev/null @@ -1,40 +0,0 @@ -extramemorylimit)) { - raise_memory_limit('128M'); - } else { - raise_memory_limit($CFG->extramemorylimit); - } - - echo "
\n";
-
-    $status = true;
-
-    $courses = $DB->get_records("course");
-    foreach ($courses as $course) {
-        echo "Start course ". format_string($course->fullname);
-        $preferences = schedule_backup_course_configure($course);
-        if ($preferences && $status) {
-            $status = schedule_backup_course_execute($preferences);
-        }
-        if ($status && $preferences) {
-            echo "End course ". format_string($course->fullname)." OK\n\n";
-        } else {
-            echo "End course ". format_string($course->fullname)." FAIL\n\n";
-        }
-    }