Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2021-05-18 10:29:45 +0300
committerGitHub <noreply@github.com>2021-05-18 10:29:45 +0300
commit6f31d20f3d3b4bbcbfd7f866dada86690d393d10 (patch)
treed4d3f4f2a3b5d5fd8cca7c70d68728280c989f5b /apps/files_sharing/lib/Controller/ShareAPIController.php
parente008b7915e83c07cdc9c4ad89b1498d4857786a3 (diff)
parent12948aa2175cf0ebde30cceab4f5064f5a793cc8 (diff)
Merge pull request #26580 from castillo92/patch-2
Fix casing of exception string
Diffstat (limited to 'apps/files_sharing/lib/Controller/ShareAPIController.php')
-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 e8d48c42cd0..0ddee32f7d0 100644
--- a/apps/files_sharing/lib/Controller/ShareAPIController.php
+++ b/apps/files_sharing/lib/Controller/ShareAPIController.php
@@ -588,7 +588,7 @@ class ShareAPIController extends OCSController {
}
if ($shareWith === null) {
- throw new OCSNotFoundException($this->l->t('Please specify a valid federated user id'));
+ throw new OCSNotFoundException($this->l->t('Please specify a valid federated user ID'));
}
$share->setSharedWith($shareWith);
@@ -607,7 +607,7 @@ class ShareAPIController extends OCSController {
}
if ($shareWith === null) {
- throw new OCSNotFoundException($this->l->t('Please specify a valid federated group id'));
+ throw new OCSNotFoundException($this->l->t('Please specify a valid federated group ID'));
}
$share->setSharedWith($shareWith);