diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-05-31 11:13:45 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-06-09 11:09:14 +0200 |
commit | 287e41732c1727cd34065cc74d83ddd2bb8b3cd0 (patch) | |
tree | 9a3ebb7201afd6b92a86f7f2888bbab3f46b3af1 /apps/dav | |
parent | f013cfc5309666729ee657b9084ead9e7f93a772 (diff) | |
download | nextcloud-server-287e41732c1727cd34065cc74d83ddd2bb8b3cd0.tar.gz nextcloud-server-287e41732c1727cd34065cc74d83ddd2bb8b3cd0.zip |
Bump dav app version and fix variable rename
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/appinfo/info.xml | 2 | ||||
-rw-r--r-- | apps/dav/lib/CalDAV/CalDavBackend.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/dav/appinfo/info.xml b/apps/dav/appinfo/info.xml index ca456b03089..f749645dfe4 100644 --- a/apps/dav/appinfo/info.xml +++ b/apps/dav/appinfo/info.xml @@ -5,7 +5,7 @@ <description>ownCloud WebDAV endpoint</description> <licence>AGPL</licence> <author>owncloud.org</author> - <version>0.2.4</version> + <version>0.2.5</version> <default_enable/> <types> <filesystem/> diff --git a/apps/dav/lib/CalDAV/CalDavBackend.php b/apps/dav/lib/CalDAV/CalDavBackend.php index 541a616f6d8..30cfae39fa4 100644 --- a/apps/dav/lib/CalDAV/CalDavBackend.php +++ b/apps/dav/lib/CalDAV/CalDavBackend.php @@ -1319,7 +1319,7 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription throw new \Sabre\DAV\Exception\BadRequest('Calendar objects must have a VJOURNAL, VEVENT or VTODO component'); } if ($componentType === 'VEVENT' && $component->DTSTART) { - $firstOccurence = $component->DTSTART->getDateTime()->getTimeStamp(); + $firstOccurrence = $component->DTSTART->getDateTime()->getTimeStamp(); // Finding the last occurrence is a bit harder if (!isset($component->RRULE)) { if (isset($component->DTEND)) { @@ -1333,7 +1333,7 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription $endDate->modify('+1 day'); $lastOccurrence = $endDate->getTimeStamp(); } else { - $lastOccurrence = $firstOccurence; + $lastOccurrence = $firstOccurrence; } } else { $it = new EventIterator($vObject, (string)$component->UID); |