Completed
Push — release-2.1 ( 286127...e6c696 )
by Mathias
11s
created
Sources/Subs-Calendar.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -1459,8 +1459,6 @@
 block discarded – undo
1459 1459
  * Helper function for getEventRange, getEventProperties, getNewEventDatetimes, etc.
1460 1460
  *
1461 1461
  * @param array $row A database row representing an event from the calendar table
1462
- * @param string $date_format Tells timeformat() how to format the date values for display to the user
1463
- * @param string $time_format Tells timeformat() how to format the time values for display to the user
1464 1462
  * @return array An array containing the start and end date and time properties for the event
1465 1463
  */
1466 1464
 function buildEventDatetimes($row)
Please login to merge, or discard this patch.
Themes/default/Calendar.template.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -253,9 +253,9 @@  discard block
 block discarded – undo
253 253
 					{
254 254
 						// Sort events by start time (all day events will be listed first)
255 255
 						uasort($day['events'], function ($a, $b) {
256
-						    if ($a['start_timestamp'] == $b['start_timestamp'])
257
-						        return 0;
258
-						    return ($a['start_timestamp'] < $b['start_timestamp']) ? -1 : 1;
256
+							if ($a['start_timestamp'] == $b['start_timestamp'])
257
+								return 0;
258
+							return ($a['start_timestamp'] < $b['start_timestamp']) ? -1 : 1;
259 259
 						});
260 260
 
261 261
 						echo '
@@ -436,9 +436,9 @@  discard block
 block discarded – undo
436 436
 							{
437 437
 								// Sort events by start time (all day events will be listed first)
438 438
 								uasort($day['events'], function ($a, $b) {
439
-								    if ($a['start_timestamp'] == $b['start_timestamp'])
440
-								        return 0;
441
-								    return ($a['start_timestamp'] < $b['start_timestamp']) ? -1 : 1;
439
+									if ($a['start_timestamp'] == $b['start_timestamp'])
440
+										return 0;
441
+									return ($a['start_timestamp'] < $b['start_timestamp']) ? -1 : 1;
442 442
 								});
443 443
 
444 444
 								foreach ($day['events'] as $event)
Please login to merge, or discard this patch.