diff options
author | Joas Schilling <coding@schilljs.com> | 2019-09-09 14:32:11 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-11-12 17:37:47 +0100 |
commit | e79ab7d0c565425c9d103930787f37c1ed3a9ed6 (patch) | |
tree | e3ac6c059047e8d760713079b975387b3a1532ad /lib/private/Share20 | |
parent | 19e1892d507c52b36ec4f7e42cc1e0989158ef79 (diff) | |
download | nextcloud-server-e79ab7d0c565425c9d103930787f37c1ed3a9ed6.tar.gz nextcloud-server-e79ab7d0c565425c9d103930787f37c1ed3a9ed6.zip |
The share manager knows which provider can accept shares
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Share20')
-rw-r--r-- | lib/private/Share20/Manager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php index ba370e7724a..298aa6f0f57 100644 --- a/lib/private/Share20/Manager.php +++ b/lib/private/Share20/Manager.php @@ -943,7 +943,7 @@ class Manager implements IManager { if (!method_exists($provider, 'acceptShare')) { // TODO FIX ME - throw new \InvalidArgumentException('not supported'); + throw new \InvalidArgumentException('Share provider does not support accepting'); } $provider->acceptShare($share, $recipientId); $event = new GenericEvent($share); |