mirror of
https://github.com/moodle/moodle.git
synced 2025-02-25 04:23:22 +01:00
Removes the default null value from the deprecated parameter $course, which was introduced as part of its deprecation. Since PHP 8.0, it is deprecated to declare functions where an optional parameter is followed by a required parameter, as is the case here. Therefore, the default value needs to be removed.