moodle/availability/classes
sam marshall 4ae6235d64 MDL-72339 core_availability: Unsafe to use format_string in description
The availability condition get_description method is called while
gathering data for the modinfo object. As such it is not safe to
call other functions which might rely on modinfo, such as format_string
(if using filters which access modinfo).

This change provides a mechanism to call format_string later, and also
a general callback to do other stuff later as well if needed. It uses
the same approach already taken to make activity names work correctly
in the availability_condition class.
2021-10-06 11:26:28 +01:00
..
privacy MDL-62266 core_availability: Implement privacy API 2018-04-30 11:20:16 +02:00
capability_checker.php
condition.php MDL-72339 core_availability: Unsafe to use format_string in description 2021-10-06 11:26:28 +01:00
frontend.php MDL-45543 availability: Use correct namespace for global classes 2014-05-14 15:31:08 +08:00
info.php MDL-72339 core_availability: Unsafe to use format_string in description 2021-10-06 11:26:28 +01:00
info_module.php MDL-72339 core_availability: Unsafe to use format_string in description 2021-10-06 11:26:28 +01:00
info_section.php MDL-55548 backup: changes after review 2017-06-12 15:52:54 +08:00
multiple_messages.php MDL-49434 availability: more bad whitespace 2015-07-22 23:58:12 +01:00
result.php
tree.php MDL-51652 Availability: OR conditions fail when filtering user lists 2015-10-12 10:23:54 +01:00
tree_node.php MDL-53481 availability: Fix uniqueness of SQL named param placeholders 2016-11-08 13:36:07 +01:00