MDL-21432 backup - need course/lib to rebuild course cache.
authorEloy Lafuente <stronk7@moodle.org>
Tue, 27 Jul 2010 23:42:00 +0000 (23:42 +0000)
committerEloy Lafuente <stronk7@moodle.org>
Tue, 27 Jul 2010 23:42:00 +0000 (23:42 +0000)
backup/util/includes/restore_includes.php

index 72c63a5..ce9bf72 100644 (file)
@@ -89,3 +89,4 @@ require_once($CFG->dirroot . '/backup/util/ui/restore_ui_components.php');
 // And some moodle stuff too
 require_once ($CFG->dirroot . '/tag/lib.php');
 require_once ($CFG->dirroot . '/lib/gradelib.php');
+require_once ($CFG->dirroot . '/course/lib.php');