Merge branch 'MOODLE_33_STABLE-MDL-59799' of https://github.com/jojoob/moodle into MOODLE_33_STABLE
This commit is contained in:
@@ -1839,6 +1839,7 @@ class coursecat implements renderable, cacheable_object, IteratorAggregate {
|
||||
}
|
||||
|
||||
if ($coursesids) {
|
||||
require_once($CFG->dirroot.'/course/lib.php');
|
||||
if (!move_courses($coursesids, $newparentid)) {
|
||||
if ($showfeedback) {
|
||||
echo $OUTPUT->notification("Error moving courses");
|
||||
|
||||
Reference in New Issue
Block a user