Skip to content

Commit

Permalink
Typo in migration script. Fixes sabre-io#298
Browse files Browse the repository at this point in the history
  • Loading branch information
evert committed Nov 20, 2012
1 parent 9ea5c15 commit 24d1f1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
1.8.1-stable (2012-??-??)
* Includes changes from version 1.7.3.
* Fixed: Typo in 1.7 migration script caused it to fail.

1.8.0-stable (2012-11-08)
* The zip release ships with sabre/vobject 2.0.5.
Expand Down
2 changes: 1 addition & 1 deletion bin/migrateto17.php
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ function getDenormalizedData($calendarData) {
}
} else {
$it = new \Sabre\VObject\RecurrenceIterator($vObject, (string)$component->UID);
$maxDate = new DateTime(\Sabre\CalDAV\Backend_PDO::MAX_DATE);
$maxDate = new DateTime(\Sabre\CalDAV\Backend\PDO::MAX_DATE);
if ($it->isInfinite()) {
$lastOccurence = $maxDate->getTimeStamp();
} else {
Expand Down

0 comments on commit 24d1f1e

Please sign in to comment.