Permalink
Browse files

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)
  • Loading branch information...
mjollnir_
mjollnir_ committed Jan 8, 2008
1 parent 9816d8a commit 2f8d2e1a2b34e8baa2ddbf2f7e374e566d348601
Showing with 2 additions and 1 deletion.
  1. +2 −1 admin/index.php
View
@@ -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();
-?>
+?>

0 comments on commit 2f8d2e1

Please sign in to comment.