From: mjollnir_ Date: Tue, 8 Jan 2008 23:27:45 +0000 (+0000) Subject: Merged from MOODLE_19_STABLE: MDL-12884 web installer should set the depth of the... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2f8d2e1a2b34e8baa2ddbf2f7e374e566d348601;p=moodle.git Merged from MOODLE_19_STABLE: MDL-12884 web installer should set the depth of the miscellaneous course category to 1 too (discussion in moodle hq skype chat with Petr) --- diff --git a/admin/index.php b/admin/index.php index fa14858c82..355fb26317 100644 --- a/admin/index.php +++ b/admin/index.php @@ -473,6 +473,7 @@ $cat = new object(); $cat->name = get_string('miscellaneous'); + $cat->depth = 1; if (!$catid = insert_record('course_categories', $cat)) { error("Serious Error! Could not set up a default course category!"); } @@ -627,4 +628,4 @@ admin_externalpage_print_footer(); -?> \ No newline at end of file +?>