Please sign in to comment.
MDL-38147 Performance improvements to coursecat class:
- Retrieve and cache only often-used fields of course category - Removed function coursecat::get_all_visible() as potentially causing performance issues - removed function coursecat::get_all_parents() as ineffective and unnecessary, replaced with get_parents() - retrieve all fields from course_categories when unretrieved field is accessed Also some code improvements: - rename functions starting with _ , rename arguments, etc.
- Loading branch information...
Showing with 98 additions and 108 deletions.
Oops, something went wrong.