mirror of
https://github.com/moodle/moodle.git
synced 2025-03-18 22:50:19 +01:00
They were deprecated in PHP 7.4 (warning) and have been removed in PHP 8.0 (error). Plus they were returning false since ages ago (PHP 5.x). Hence, adding conditional check to see if they are available (h5p editor) or removing the unreachable code-block when they evaluated to true. Also, modified the corresponding moodle_readme files to document the change.
ENROLMENT MODULES ----------------- (Yes, that's the correct English spelling ;-) ) All enrolment modules must extend base class enrol_plugin which is defined in lib/enrollib.php. You can find documentation of each method in the base class.