aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/Controller
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-12-05 11:27:38 +0100
committerJoas Schilling <coding@schilljs.com>2018-12-05 11:27:38 +0100
commitee545d684042c2b602cff9f80b740f89d8484352 (patch)
treeb2f1cf372ad7cd30aa675966ca09268709f397b2 /apps/files_sharing/lib/Controller
parent4deec15a8cf202730d0ac9851029263423a81f70 (diff)
downloadnextcloud-server-ee545d684042c2b602cff9f80b740f89d8484352.tar.gz
nextcloud-server-ee545d684042c2b602cff9f80b740f89d8484352.zip
Fix typo in "incoming"
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/files_sharing/lib/Controller')
-rw-r--r--apps/files_sharing/lib/Controller/ShareAPIController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/Controller/ShareAPIController.php b/apps/files_sharing/lib/Controller/ShareAPIController.php
index 2bd535e319f..797558fbd9a 100644
--- a/apps/files_sharing/lib/Controller/ShareAPIController.php
+++ b/apps/files_sharing/lib/Controller/ShareAPIController.php
@@ -809,7 +809,7 @@ class ShareAPIController extends OCSController {
}
if ($share->getShareOwner() !== $this->currentUser && $share->getSharedBy() !== $this->currentUser) {
- throw new OCSForbiddenException('You are not allowed to edit incomming shares');
+ throw new OCSForbiddenException('You are not allowed to edit incoming shares');
}
if ($permissions === null &&
@@ -955,7 +955,7 @@ class ShareAPIController extends OCSController {
}
if ($permissions !== null && $share->getShareOwner() !== $this->currentUser) {
- /* Check if this is an incomming share */
+ /* Check if this is an incoming share */
$incomingShares = $this->shareManager->getSharedWith($this->currentUser, Share::SHARE_TYPE_USER, $share->getNode(), -1, 0);
$incomingShares = array_merge($incomingShares, $this->shareManager->getSharedWith($this->currentUser, Share::SHARE_TYPE_GROUP, $share->getNode(), -1, 0));
$incomingShares = array_merge($incomingShares, $this->shareManager->getSharedWith($this->currentUser, Share::SHARE_TYPE_ROOM, $share->getNode(), -1, 0));