mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
9aa9080756
Autolinking of glossaries, activity, resources and wiki names were using a trivial single-entry cache implemented with static vars. The cache was _not_ keyed on course. This bug was visible during forum_cron() which walks many courses. The cache would get "stuck" on the first course that had something to put in the cache. All mailouts from there onwards would autolink to stuff in the wrong course.