moodle/mod/quiz/report/statistics/upgrade.txt
Tim Hunt 25953f9c7f MDL-75576 quiz statistics: don't time-limit the use of cached values
This should have been done as part of  MDL-74762, but was missed.
2023-05-15 10:03:26 +01:00

21 lines
1 KiB
Text

This files describes API changes in /mod/quiz/report/statistics/*,
information provided here is intended especially for developers.
=== 4.2.1 ===
* The methods quiz_statistics_report::calculate_questions_stats_for_question_bank and get_all_stats_and_analysis
(which are really private to the quiz, and not part of any API you should be using) now have a new
optional argument $calculateifrequired.
* In the past, the methods \quiz_statistics\calculator::get_last_calculated_time() and calculator::get_cached()
only returned the pre-computed statistics if they were computed less than 15 minutes ago. Now, they will
always return any computed statistics that exist. The constant calculator::TIME_TO_CACHE will be
deprecated in Moodle 4.3.
=== 3.2 ===
* The function quiz_statistics_graph_get_new_colour() is deprecated in favour of the
funtionality present in the new charting library.
* The function quiz_statistics_renumber_placeholders() is removed as the changes
in MDL-31243 and MDL-27072 make this redundant.