mirror of
https://github.com/moodle/moodle.git
synced 2025-04-19 07:25:30 +02:00
Merge branch 'master-MDL-59799' of https://github.com/jojoob/moodle
This commit is contained in:
commit
e8466eee81
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user