-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.5.2
-
MOODLE_405_STABLE
Default exception handler: Fehler: Call to undefined function course_get_format() Debug:
Error code: generalexceptionmessage
- line 4940 of /lib/moodlelib.php: Error thrown
- line 4687 of /lib/moodlelib.php: call to remove_course_contents()
- line 118 of /admin/cli/delete_course.php: call to delete_course()
!!! Fehler: Call to undefined function course_get_format() !!!
I added the following line in my local Moodle (in delete_course.php)
require_once($CFG->dirroot . '/course/lib.php');
This seems to have fixed the bug. Can you please correct this in the Moodle/Repo.
Thanks!