diff options
author | Valdnet <47037905+Valdnet@users.noreply.github.com> | 2022-02-17 15:03:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-17 15:03:53 +0100 |
commit | 522d9c1d1f1043565377967e2a429742f912bad9 (patch) | |
tree | 797019e2d4a08bfd459fafe80111598191e64bf6 /apps/files_sharing | |
parent | c72718c61bd6b7d6bc02a96d564fbb10f6eb721e (diff) | |
download | nextcloud-server-522d9c1d1f1043565377967e2a429742f912bad9.tar.gz nextcloud-server-522d9c1d1f1043565377967e2a429742f912bad9.zip |
l10n: Delete dot
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/lib/Controller/ShareAPIController.php | 4 |
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 bba4bac7a73..64f3e79770b 100644 --- a/apps/files_sharing/lib/Controller/ShareAPIController.php +++ b/apps/files_sharing/lib/Controller/ShareAPIController.php @@ -1113,13 +1113,13 @@ class ShareAPIController extends OCSController { if ($newPermissions !== null) { if (!$this->hasPermission($newPermissions, Constants::PERMISSION_READ) && !$this->hasPermission($newPermissions, Constants::PERMISSION_CREATE)) { - throw new OCSBadRequestException($this->l->t('Share must at least have READ or CREATE permissions.')); + throw new OCSBadRequestException($this->l->t('Share must at least have READ or CREATE permissions')); } if (!$this->hasPermission($newPermissions, Constants::PERMISSION_READ) && ( $this->hasPermission($newPermissions, Constants::PERMISSION_UPDATE) || $this->hasPermission($newPermissions, Constants::PERMISSION_DELETE) )) { - throw new OCSBadRequestException($this->l->t('Share must have READ permission if UPDATE or DELETE permission is set.')); + throw new OCSBadRequestException($this->l->t('Share must have READ permission if UPDATE or DELETE permission is set')); } } |