-
Sub-task
-
Resolution: Fixed
-
Minor
-
2.5, 2.6
-
MOODLE_25_STABLE, MOODLE_26_STABLE
-
MOODLE_25_STABLE
-
wip-
MDL-38773-master -
Course list cache (helps browsing categories) is purged already when any course is added or updated through form or web services. But when course is created or updated as a result of restore, neither create_course() nor update_course() functions is called and course list cache is not purged.
This is not a huge problem because course list cache has lifetime of 10 minutes anyway.
To purge caches we only need to call
cache_helper::purge_by_event('changesincourse');
|
the only problem is to find where to insert it
- is duplicated by
-
MDL-39917 Course restore from 2.4.3 to 2.5 does not display in category; or does not display teacher.
-
- Closed
-