Permalink
Browse files

Revert "Merge branch 'MDL-48591_m27' of https://github.com/jrchamp/mo…

…odle into MOODLE_27_STABLE"

This reverts commit 1d8e6ec, reversing
changes made to 6a2cd3d.
  • Loading branch information...
danpoltawski committed Dec 23, 2014
1 parent d8283bf commit 72ce39de7c71ec80b8a975db2d0f55a5ebc91c11
Showing with 1 addition and 1 deletion.
  1. +1 −1 calendar/lib.php
View
@@ -249,7 +249,7 @@ function calendar_get_mini($courses, $groups, $users, $calmonth = false, $calyea
// These are used for DB queries, so we want unixtime, so we need to use Gregorian dates.
$display->tstart = make_timestamp($gy, $gm, $gd, $gh, $gmin, 0);
$display->tend = strtotime("+{$display->maxdays} days", $display->tstart) - 1;
$display->tend = $display->tstart + ($display->maxdays * DAYSECS) - 1;
// Align the starting weekday to fall in our display range
// This is simple, not foolproof.

0 comments on commit 72ce39d

Please sign in to comment.