Merge branch 'MDL-65974-master-iteration03' of git://github.com/ferranrecio/moodle

This commit is contained in:
Adrian Greeve
2021-03-15 15:16:44 +08:00
60 changed files with 4986 additions and 1987 deletions
+4 -3
View File
@@ -918,7 +918,8 @@ function textlib_get_instance() {
* @deprecated since 2.4
*/
function get_generic_section_name() {
throw new coding_exception('get_generic_section_name() is deprecated. Please use appropriate functionality from class format_base');
throw new coding_exception('get_generic_section_name() is deprecated. Please use appropriate functionality '
.'from class core_course\\course_format');
}
/**
@@ -988,8 +989,8 @@ function make_editing_buttons() {
* @deprecated since 2.5
*/
function print_section() {
throw new coding_exception('Function print_section() is removed. Please use course renderer function '.
'course_section_cm_list() instead.');
throw new coding_exception('Function print_section() is removed. Please use core_course\output\section_format '.
' to render a course section instead.');
}
/**