aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrakekniven <2069590+rakekniven@users.noreply.github.com>2023-03-13 11:31:20 +0100
committerSimon L <szaimen@e.mail.de>2023-04-18 12:08:38 +0200
commit86b17e2248b234c95202d33ef38bf026a63d3103 (patch)
treebe1c5afb466ece0943efcab063d75a03c41289d6
parenteaaeb320741e1657281b12f183bf5ea19f022d4e (diff)
downloadnextcloud-server-86b17e2248b234c95202d33ef38bf026a63d3103.tar.gz
nextcloud-server-86b17e2248b234c95202d33ef38bf026a63d3103.zip
Update apps/files_sharing/lib/Controller/ShareAPIController.php
Co-authored-by: Valdnet <47037905+Valdnet@users.noreply.github.com> Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
-rw-r--r--apps/files_sharing/lib/Controller/ShareAPIController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/Controller/ShareAPIController.php b/apps/files_sharing/lib/Controller/ShareAPIController.php
index 86c19f88452..e1595a98ea3 100644
--- a/apps/files_sharing/lib/Controller/ShareAPIController.php
+++ b/apps/files_sharing/lib/Controller/ShareAPIController.php
@@ -704,7 +704,7 @@ class ShareAPIController extends OCSController {
try {
$this->getSciencemeshShareHelper()->createShare($share, $shareWith, $permissions, $expireDate);
} catch (QueryException $e) {
- throw new OCSForbiddenException($this->l->t('Sharing %s failed because the back end does not support Science Mesh shares', [$node->getPath()]));
+ throw new OCSForbiddenException($this->l->t('Sharing %s failed because the back end does not support ScienceMesh shares', [$node->getPath()]));
}
} else {
throw new OCSBadRequestException($this->l->t('Unknown share type'));