mirror of
https://github.com/moodle/moodle.git
synced 2025-03-03 15:29:08 +01:00
Several version checks were incorrectly using restore_controller::info::moodle_release instead of moodle_version as a version number. This replaces all of those checks with a common pair of methods to make the checks clearer and more maintainable.