mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
1d28d87b35
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.