-
Improvement
-
Resolution: Fixed
-
Blocker
-
2.6
-
MOODLE_26_STABLE
-
MOODLE_26_STABLE
-
wip-
MDL-41192-master -
-
BACKEND Sprint 4
Classes cm_info should not perform any calculations/requests in constructor, all properties should be read-only and those that need calculations have getters methods so they are calculated on the first request only.
What it saves: when we call get_fast_modinfo() for the whole course but only actually need one activity (or only activities in one sections, activities of particular type, etc.), the other activities' visibility is not calculated. At the moment it can be expensive if conditions or groups are used.
- blocks
-
MDL-41219 Usability improvements in class course_modinfo
- Closed
- caused a regression
-
MDL-46280 Activity auto linking filter breaks when similar activity names are used
- Closed
-
MDL-42441 DnD: It is not allowed to set the property cm_info::$<property>
- Closed
-
MDL-42463 mod_chat attempts to access $cm->lasttime
- Closed
-
MDL-42534 cm_info $cache issues when viewing someone's posts
- Closed
- has a non-specific relationship to
-
MDL-41690 Deprecate previously public methods in class cm_info
- Closed
- is blocked by
-
MDL-36690 invalid iconurl in LTI module causes corrupt modinfo and course no longer loads.
- Closed
-
MDL-41179 Function cm_info::is_user_access_restricted_by_capability() assumes current user
- Closed
-
MDL-41181 moveto_module() should not modify arguments
- Closed