Merge pull request #23642 from stweil/master
apps: Fix some typos found by codespell
This commit is contained in:
commit
d7072ee8e5
11 changed files with 14 additions and 14 deletions
|
@ -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();
|
||||
|
|
|
@ -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
|
||||
* exception is that 'carddata' is absolutely required.
|
||||
|
|
|
@ -49,7 +49,7 @@ class LockPlugin extends ServerPlugin {
|
|||
}
|
||||
|
||||
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
|
||||
if ($request->getMethod() !== 'PUT' || isset($_SERVER['HTTP_OC_CHUNKED'])) {
|
||||
return;
|
||||
|
|
|
@ -366,7 +366,7 @@ class FilesPlugin extends \Test\TestCase {
|
|||
* |-text.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
|
||||
*
|
||||
* @expectedException \Sabre\DAV\Exception\Forbidden
|
||||
|
|
|
@ -497,7 +497,7 @@ OCA.External.StatusManager.Utils = {
|
|||
if (folder instanceof $) {
|
||||
trFolder = folder;
|
||||
} else {
|
||||
// cant use here FileList.findFileEl(OCA.External.StatusManager.Utils.jqSelEscape(folder)); return incorrect instance of filelist
|
||||
// can't use here FileList.findFileEl(OCA.External.StatusManager.Utils.jqSelEscape(folder)); return incorrect instance of filelist
|
||||
trFolder = $('#fileList tr[data-file=\"' + OCA.External.StatusManager.Utils.jqSelEscape(folder) + '\"]');
|
||||
}
|
||||
trFolder.removeClass('externalErroredRow').removeClass('externalDisabledRow');
|
||||
|
|
|
@ -72,7 +72,7 @@ class GlobalStoragesService extends StoragesService {
|
|||
|
||||
/**
|
||||
* Triggers signal_create_mount or signal_delete_mount to
|
||||
* accomodate for additions/deletions in applicableUsers
|
||||
* accommodate for additions/deletions in applicableUsers
|
||||
* and applicableGroups fields.
|
||||
*
|
||||
* @param StorageConfig $oldStorage old storage config
|
||||
|
|
|
@ -188,7 +188,7 @@ abstract class LegacyStoragesService {
|
|||
$storagesWithConfigHash[$configId] = $currentStorage;
|
||||
}
|
||||
} catch (\UnexpectedValueException $e) {
|
||||
// dont die if a storage backend doesn't exist
|
||||
// don't die if a storage backend doesn't exist
|
||||
\OCP\Util::writeLog(
|
||||
'files_external',
|
||||
'Could not load storage: "' . $e->getMessage() . '"',
|
||||
|
|
|
@ -96,7 +96,7 @@ abstract class StoragesService {
|
|||
$config->setId((int)$mount['mount_id']);
|
||||
return $config;
|
||||
} catch (\UnexpectedValueException $e) {
|
||||
// dont die if a storage backend doesn't exist
|
||||
// don't die if a storage backend doesn't exist
|
||||
\OCP\Util::writeLog(
|
||||
'files_external',
|
||||
'Could not load storage: "' . $e->getMessage() . '"',
|
||||
|
@ -352,7 +352,7 @@ abstract class StoragesService {
|
|||
|
||||
/**
|
||||
* Triggers signal_create_mount or signal_delete_mount to
|
||||
* accomodate for additions/deletions in applicableUsers
|
||||
* accommodate for additions/deletions in applicableUsers
|
||||
* and applicableGroups fields.
|
||||
*
|
||||
* @param StorageConfig $oldStorage old storage data
|
||||
|
|
|
@ -82,7 +82,7 @@ class UserStoragesService extends StoragesService {
|
|||
|
||||
/**
|
||||
* Triggers signal_create_mount or signal_delete_mount to
|
||||
* accomodate for additions/deletions in applicableUsers
|
||||
* accommodate for additions/deletions in applicableUsers
|
||||
* and applicableGroups fields.
|
||||
*
|
||||
* @param StorageConfig $oldStorage old storage data
|
||||
|
|
|
@ -56,7 +56,7 @@ class Trashbin {
|
|||
private static $scannedVersions = false;
|
||||
|
||||
/**
|
||||
* Ensure we dont need to scan the file during the move to trash
|
||||
* Ensure we don't need to scan the file during the move to trash
|
||||
* by triggering the scan in the pre-hook
|
||||
*
|
||||
* @param array $params
|
||||
|
|
|
@ -435,7 +435,7 @@ class Storage extends \Test\TestCase {
|
|||
}
|
||||
|
||||
/**
|
||||
* Delete should fail is the source file cant be deleted
|
||||
* Delete should fail if the source file can't be deleted.
|
||||
*/
|
||||
public function testSingleStorageDeleteFileFail() {
|
||||
/**
|
||||
|
@ -472,7 +472,7 @@ class Storage extends \Test\TestCase {
|
|||
}
|
||||
|
||||
/**
|
||||
* Delete should fail is the source folder cant be deleted
|
||||
* Delete should fail if the source folder can't be deleted.
|
||||
*/
|
||||
public function testSingleStorageDeleteFolderFail() {
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue