mirror of
https://github.com/moodle/moodle.git
synced 2025-04-19 23:42:11 +02:00
fix for MDL-10826 ' Moodle Impossible to delete a course because of non-existent question_delete_activity() '
This commit is contained in:
parent
a0501fc36a
commit
681666abe7
@ -3017,8 +3017,8 @@ function delete_course($courseid, $showfeedback = true) {
|
||||
*/
|
||||
function remove_course_contents($courseid, $showfeedback=true) {
|
||||
|
||||
include_once($CFG->libdir.'/questionlib.php');
|
||||
global $CFG;
|
||||
include_once($CFG->libdir.'/questionlib.php');
|
||||
|
||||
$result = true;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user