MDL-72911 core_courseformat: fix deprecation messages
This commit is contained in:
committed by
Sara Arjona
parent
43499d332c
commit
88e17ccad9
@@ -989,8 +989,11 @@ function make_editing_buttons() {
|
||||
* @deprecated since 2.5
|
||||
*/
|
||||
function print_section() {
|
||||
throw new coding_exception('Function print_section() is removed. Please use core_course\output\section_format '.
|
||||
' to render a course section instead.');
|
||||
throw new coding_exception(
|
||||
'Function print_section() is removed.' .
|
||||
' Please use core_courseformat\\output\\local\\content\\section' .
|
||||
' to render a course section instead.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user