Merge branch 'MDL-65974-master-iteration03' of git://github.com/ferranrecio/moodle
This commit is contained in:
@@ -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.');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user