Browse Source

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>
tags/v27.0.0beta1
rakekniven 1 year ago
parent
commit
86b17e2248
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      apps/files_sharing/lib/Controller/ShareAPIController.php

+ 1
- 1
apps/files_sharing/lib/Controller/ShareAPIController.php View File

@@ -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'));

Loading…
Cancel
Save