MDL-60763 calendar: Use PHP concat, not JS

This commit is contained in:
Andrew Nicols
2017-11-10 13:56:39 +08:00
parent 41b7375c07
commit 27973b545c
2 changed files with 3 additions and 3 deletions
@@ -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
);
+2 -2
View File
@@ -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
);