Merge branch 'wip-mdl-39827-m25' of git://github.com/rajeshtaneja/moodle into MOODLE_25_STABLE
This commit is contained in:
@@ -183,6 +183,7 @@ if ((!empty($moveupcat) or !empty($movedowncat)) and confirm_sesskey()) {
|
||||
if ($swapcategory and $movecategory) {
|
||||
$DB->set_field('course_categories', 'sortorder', $swapcategory->sortorder, array('id' => $movecategory->id));
|
||||
$DB->set_field('course_categories', 'sortorder', $movecategory->sortorder, array('id' => $swapcategory->id));
|
||||
cache_helper::purge_by_event('changesincoursecat');
|
||||
add_to_log(SITEID, "category", "move", "editcategory.php?id=$movecategory->id", $movecategory->id);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user