apps/dav: Fix typos in comments (found and fixed by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
0e687993c8
commit
65b0127241
|
@ -705,7 +705,7 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
|
||||||
*
|
*
|
||||||
* This default may well be good enough for personal use, and calendars
|
* 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
|
* 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
|
* The best way to do so is override this method and to optimize
|
||||||
* specifically for 'common filters'.
|
* specifically for 'common filters'.
|
||||||
|
@ -1299,7 +1299,7 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
|
||||||
}
|
}
|
||||||
if ($componentType === 'VEVENT' && $component->DTSTART) {
|
if ($componentType === 'VEVENT' && $component->DTSTART) {
|
||||||
$firstOccurence = $component->DTSTART->getDateTime()->getTimeStamp();
|
$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->RRULE)) {
|
||||||
if (isset($component->DTEND)) {
|
if (isset($component->DTEND)) {
|
||||||
$lastOccurence = $component->DTEND->getDateTime()->getTimeStamp();
|
$lastOccurence = $component->DTEND->getDateTime()->getTimeStamp();
|
||||||
|
|
|
@ -392,7 +392,7 @@ class CardDavBackend implements BackendInterface, SyncSupport {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a specfic card.
|
* Returns a specific card.
|
||||||
*
|
*
|
||||||
* The same set of properties must be returned as with getCards. The only
|
* The same set of properties must be returned as with getCards. The only
|
||||||
* exception is that 'carddata' is absolutely required.
|
* exception is that 'carddata' is absolutely required.
|
||||||
|
|
|
@ -49,7 +49,7 @@ class LockPlugin extends ServerPlugin {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getLock(RequestInterface $request) {
|
public function getLock(RequestInterface $request) {
|
||||||
// we cant listen on 'beforeMethod:PUT' due to order of operations with setting up the tree
|
// we can't listen on 'beforeMethod:PUT' due to order of operations with setting up the tree
|
||||||
// so instead we limit ourselves to the PUT method manually
|
// so instead we limit ourselves to the PUT method manually
|
||||||
if ($request->getMethod() !== 'PUT' || isset($_SERVER['HTTP_OC_CHUNKED'])) {
|
if ($request->getMethod() !== 'PUT' || isset($_SERVER['HTTP_OC_CHUNKED'])) {
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -366,7 +366,7 @@ class FilesPlugin extends \Test\TestCase {
|
||||||
* |-text.txt
|
* |-text.txt
|
||||||
* |-test.txt
|
* |-test.txt
|
||||||
*
|
*
|
||||||
* FolderA is an incomming shared folder and there are no delete permissions.
|
* FolderA is an incoming shared folder and there are no delete permissions.
|
||||||
* Thus moving /FolderA/test.txt to /test.txt should fail already on that check
|
* Thus moving /FolderA/test.txt to /test.txt should fail already on that check
|
||||||
*
|
*
|
||||||
* @expectedException \Sabre\DAV\Exception\Forbidden
|
* @expectedException \Sabre\DAV\Exception\Forbidden
|
||||||
|
|
Loading…
Reference in New Issue