mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 18:21:40 -04:00
revert(exception): keep throwing an exception for now
Signed-off-by: Samuel <faust64@gmail.com>
This commit is contained in:
parent
038def2328
commit
d494c6650c
1 changed files with 2 additions and 1 deletions
|
|
@ -543,7 +543,8 @@ class Manager implements IManager {
|
|||
);
|
||||
if (empty($groups)) {
|
||||
$message_t = $this->l->t('Sharing is only allowed with group members');
|
||||
throw new GenericShareException($message_t, $message_t, 404);
|
||||
// throw new GenericShareException($message_t, $message_t, 404);
|
||||
throw new \Exception($message_t);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue