From de4bf1ff9d6a12d5f77c47362c2de3b6496f026a Mon Sep 17 00:00:00 2001 From: Eloy Lafuente Date: Sun, 2 May 2010 18:31:54 +0000 Subject: [PATCH] MDL-21432 backup - this is finally out. Any backup / restore should use the API --- backup/try.php | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 backup/try.php 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";
-        }
-    }
-- 
2.17.1