From 27973b545cc26ad021808bd03d5886b729a3fb00 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Fri, 10 Nov 2017 13:56:21 +0800 Subject: [PATCH] MDL-60763 calendar: Use PHP concat, not JS --- blocks/calendar_upcoming/block_calendar_upcoming.php | 2 +- lib/deprecatedlib.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/blocks/calendar_upcoming/block_calendar_upcoming.php b/blocks/calendar_upcoming/block_calendar_upcoming.php index 87d3f2f2899..137ba260757 100644 --- a/blocks/calendar_upcoming/block_calendar_upcoming.php +++ b/blocks/calendar_upcoming/block_calendar_upcoming.php @@ -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 ); diff --git a/lib/deprecatedlib.php b/lib/deprecatedlib.php index 37c194713eb..9ef00198a56 100644 --- a/lib/deprecatedlib.php +++ b/lib/deprecatedlib.php @@ -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 );