MDL-60763 calendar: Use PHP concat, not JS
This commit is contained in:
@@ -81,7 +81,7 @@ class block_calendar_upcoming extends block_base {
|
||||
*/
|
||||
public static function get_upcoming_content($events, $linkhref = null, $showcourselink = false) {
|
||||
debugging(
|
||||
'get_upcoming_content() is deprecated. ' +
|
||||
'get_upcoming_content() is deprecated. ' .
|
||||
'Please see block_calendar_upcoming::get_content() for the correct API usage.',
|
||||
DEBUG_DEVELOPER
|
||||
);
|
||||
|
||||
@@ -6244,7 +6244,7 @@ function calendar_get_block_upcoming($events, $linkhref = null, $showcourselink
|
||||
global $CFG;
|
||||
|
||||
debugging(
|
||||
__FUNCTION__ . '() has been deprecated. ' +
|
||||
__FUNCTION__ . '() has been deprecated. ' .
|
||||
'Please see block_calendar_upcoming::get_content() for the correct API usage.',
|
||||
DEBUG_DEVELOPER
|
||||
);
|
||||
@@ -6448,7 +6448,7 @@ function calendar_get_mini($courses, $groups, $users, $calmonth = false, $calyea
|
||||
*/
|
||||
function calendar_get_upcoming($courses, $groups, $users, $daysinfuture, $maxevents, $fromtime=0) {
|
||||
debugging(
|
||||
'calendar_get_upcoming() has been deprecated. ' +
|
||||
'calendar_get_upcoming() has been deprecated. ' .
|
||||
'Please see block_calendar_upcoming::get_content() for the correct API usage.',
|
||||
DEBUG_DEVELOPER
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user