mirror of
https://github.com/moodle/moodle.git
synced 2025-02-28 05:54:55 +01:00
- 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.