mirrored from git://git.moodle.org/moodle.git
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
admin/modules: Avoid calling rebuild_course_cache()
rebuild_course_cache() over all courses is extremely expensive, not suitable for interactive calling. Better to clear modinfo and let course/view.php repopulate it as needed. With this patch we clear out modinfo _only_ for courses affected by the module we show/hide/delete.
- Loading branch information
martinlanghoff
committed
Sep 12, 2007
1 parent
f6297ed
commit cfca081
Showing
1 changed file
with
36 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters