course/index: remove call to rebuild_context_rel()

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
This commit is contained in:
martinlanghoff
2007-09-19 07:53:17 +00:00
parent dd14fecfa4
commit 853a093ec5
-2
View File
@@ -195,8 +195,6 @@
$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));
}
}
}