catalyst / moodle-tool_objectfs

Object file storage system for Moodle
https://moodle.org/plugins/tool_objectfs
88 stars 72 forks source link

Fix unit tests in Moodle 4.2 and extend CI up to Moodle 4.2 #585

Closed golenkovm closed 1 year ago

golenkovm commented 1 year ago

This resolves #584

It looks like cron_trace_time_and_memory(); is not needed. All scheduled tasks have this invoked by default, eg https://github.com/moodle/moodle/blob/master/lib/classes/cron.php#L389

Also no other objectfs tasks had this method called so it should be fine to remove it without replacing new \core\cron class which would require a new moodle 4.2 stable branch.