]> git.mjollnir.org Git - moodle.git/commitdiff
Merged from MOODLE_19_STABLE: MDL-12884 web installer should set the depth of the...
authormjollnir_ <mjollnir_>
Tue, 8 Jan 2008 23:27:45 +0000 (23:27 +0000)
committermjollnir_ <mjollnir_>
Tue, 8 Jan 2008 23:27:45 +0000 (23:27 +0000)
admin/index.php

index fa14858c82920b3144fbc3ae8ed25f5c8eec7fab..355fb26317599b4cf4450d342ecb99e0260950e8 100644 (file)
 
         $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!");
         }
 
     admin_externalpage_print_footer();
 
-?>
\ No newline at end of file
+?>