MDL-60763 calendar: Use PHP concat, not JS
authorAndrew Nicols <andrew@nicols.co.uk>
Fri, 10 Nov 2017 05:56:21 +0000 (13:56 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Fri, 10 Nov 2017 05:56:39 +0000 (13:56 +0800)
blocks/calendar_upcoming/block_calendar_upcoming.php
lib/deprecatedlib.php

index 87d3f2f..137ba26 100644 (file)
@@ -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
             );
index 37c1947..9ef0019 100644 (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
         );