summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/caldav/caldavbackend.php
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2016-01-29 18:25:27 +0100
committerStefan Weil <sw@weilnetz.de>2016-03-30 10:14:26 +0200
commit65b01272416b9ab686d0fdac7cdc7e09da8e5cf7 (patch)
tree062c49dd5f5a203b37a064ea617ee0bde99543b7 /apps/dav/lib/caldav/caldavbackend.php
parent0e687993c8afb36876e7d90c229b97b4aaf43b70 (diff)
downloadnextcloud-server-65b01272416b9ab686d0fdac7cdc7e09da8e5cf7.tar.gz
nextcloud-server-65b01272416b9ab686d0fdac7cdc7e09da8e5cf7.zip
apps/dav: Fix typos in comments (found and fixed by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'apps/dav/lib/caldav/caldavbackend.php')
-rw-r--r--apps/dav/lib/caldav/caldavbackend.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/caldav/caldavbackend.php b/apps/dav/lib/caldav/caldavbackend.php
index 5f82db10b39..f0f236de3ff 100644
--- a/apps/dav/lib/caldav/caldavbackend.php
+++ b/apps/dav/lib/caldav/caldavbackend.php
@@ -705,7 +705,7 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
*
* This default may well be good enough for personal use, and calendars
* that aren't very large. But if you anticipate high usage, big calendars
- * or high loads, you are strongly adviced to optimize certain paths.
+ * or high loads, you are strongly advised to optimize certain paths.
*
* The best way to do so is override this method and to optimize
* specifically for 'common filters'.
@@ -1299,7 +1299,7 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
}
if ($componentType === 'VEVENT' && $component->DTSTART) {
$firstOccurence = $component->DTSTART->getDateTime()->getTimeStamp();
- // Finding the last occurence is a bit harder
+ // Finding the last occurrence is a bit harder
if (!isset($component->RRULE)) {
if (isset($component->DTEND)) {
$lastOccurence = $component->DTEND->getDateTime()->getTimeStamp();