Skip to content

Commit

Permalink
course/index: remove call to rebuild_context_rel()
Browse files Browse the repository at this point in the history
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
  • Loading branch information
martinlanghoff committed Sep 19, 2007
1 parent dd14fec commit 853a093
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions course/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}
}
Expand Down

0 comments on commit 853a093

Please sign in to comment.