MDL-21432 backup - supress already included include
authorEloy Lafuente <stronk7@moodle.org>
Sat, 24 Jul 2010 18:41:24 +0000 (18:41 +0000)
committerEloy Lafuente <stronk7@moodle.org>
Sat, 24 Jul 2010 18:41:24 +0000 (18:41 +0000)
backup/restore.php

index 1aab7dc..bb906d2 100644 (file)
@@ -3,7 +3,6 @@
 
 require_once('../config.php');
 require_once($CFG->dirroot . '/backup/util/includes/restore_includes.php');
-require_once($CFG->dirroot . '/backup/moodle2/restore_plan_builder.class.php');
 
 $contextid   = required_param('contextid', PARAM_INT);
 $stage      = optional_param('stage', restore_ui::STAGE_CONFIRM, PARAM_INT);
@@ -56,4 +55,4 @@ if (!$restore->is_independent() && $restore->enforce_changed_dependencies()) {
 }
 echo $renderer->progress_bar($restore->get_progress_bar());
 echo $restore->display($renderer);
-echo $OUTPUT->footer();
\ No newline at end of file
+echo $OUTPUT->footer();