mirror of
https://github.com/moodle/moodle.git
synced 2025-03-05 00:22:43 +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.