summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel <faust64@gmail.com>2021-02-05 12:52:59 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2021-02-05 15:23:16 +0000
commitd494c6650c83ceac00ff53e94c121b037d406dd0 (patch)
treee366db992c4f2c31439a6690ae23458ee43758e0
parent038def23286ac685e4a0a5f259d2d5e0b69a8b96 (diff)
downloadnextcloud-server-d494c6650c83ceac00ff53e94c121b037d406dd0.tar.gz
nextcloud-server-d494c6650c83ceac00ff53e94c121b037d406dd0.zip
revert(exception): keep throwing an exception for now
Signed-off-by: Samuel <faust64@gmail.com>
-rw-r--r--lib/private/Share20/Manager.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php
index bd0d51486a5..61f6d87336f 100644
--- a/lib/private/Share20/Manager.php
+++ b/lib/private/Share20/Manager.php
@@ -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);
}
}