]> git.mjollnir.org Git - moodle.git/commit
accesslib - Ensure newly-created categories have a context
authormartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:50:05 +0000 (07:50 +0000)
committermartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:50:05 +0000 (07:50 +0000)
commit1d28d87b3569aafd1417bab3e8171bfc06d53fbf
tree3e0ea04f7c47b679a5e9b401ca0a433f7fd444f2
parent015e19287ba8386f5e5ebdd010bf83e5656eba82
accesslib - Ensure newly-created categories have a context

New categories need a context immediately, and for top-level
categories, they also need to taint the "root" context to trigger
a reload of $USER->access.

This fixes problems with creation of initial courses(MDL-11178),
duplicate misc categories, etc.
admin/index.php
course/index.php