mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
9c98546da6
Previously we did not require the lib.php files for each module in this ad-hoc task, which meant that the *_refresh_events functions would only be called if some lucky sequence of events led to the lib.php file for the module being required. Instead we should use the component_callback function which can handle that stuff automagically.