Very last caller to rebuild_context_rel() and any XX_context_rel()
function. move_category() already takes care of calling
context_moved(), which does the required context.path maintenance.
Addresses MDL-11219
$newp = get_record('course_categories', 'id', $moveto);
if (! move_category($tempcat, $newp)) {
notify('Could not update that category!');
- } else {
- rebuild_context_rel(get_context_instance(CONTEXT_COURSECAT, $move));
}
}
}