This commit is contained in:
Huong Nguyen
2024-08-20 09:30:44 +07:00
395 changed files with 787 additions and 785 deletions
+1 -1
View File
@@ -4736,7 +4736,7 @@ function delete_course($courseorid, $showfeedback = true) {
* method returns false, some of the removals will probably have succeeded, and others
* failed, but you have no way of knowing which.
*/
function remove_course_contents($courseid, $showfeedback = true, array $options = null) {
function remove_course_contents($courseid, $showfeedback = true, ?array $options = null) {
global $CFG, $DB, $OUTPUT;
require_once($CFG->libdir.'/badgeslib.php');