mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +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.