diff options
author | Samuel <faust64@gmail.com> | 2021-02-11 12:06:16 +0100 |
---|---|---|
committer | Samuel <faust64@gmail.com> | 2021-02-11 12:06:16 +0100 |
commit | 957e287b797b33dfac9e34ad9e7b66e6aa28cd73 (patch) | |
tree | 80fdb200b4c753919b03241323352b6dcab3e3e7 /lib/private/Share20 | |
parent | 75fbc66f9b959a67a36fe768bec6bfd9e839fa70 (diff) | |
parent | d5dea10517bbceaf141f56b6dde0efb55fc6f4b5 (diff) | |
download | nextcloud-server-957e287b797b33dfac9e34ad9e7b66e6aa28cd73.tar.gz nextcloud-server-957e287b797b33dfac9e34ad9e7b66e6aa28cd73.zip |
Merge remote-tracking branch 'upstream/master' into feat-federatedfilesharing-logging
Diffstat (limited to 'lib/private/Share20')
-rw-r--r-- | lib/private/Share20/Manager.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php index 9a2b413896b..32bc0363b99 100644 --- a/lib/private/Share20/Manager.php +++ b/lib/private/Share20/Manager.php @@ -542,7 +542,8 @@ class Manager implements IManager { $this->groupManager->getUserGroupIds($sharedWith) ); if (empty($groups)) { - throw new \Exception('Sharing is only allowed with group members'); + $message_t = $this->l->t('Sharing is only allowed with group members'); + throw new \Exception($message_t); } } |