aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/lib/FederatedShareProvider.php
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2018-05-30 17:44:08 +0200
committerBjoern Schiessle <bjoern@schiessle.org>2018-07-02 11:29:28 +0200
commit41a1528888062610af58e319ce7bfa3ef8784da3 (patch)
tree4e650690a6569ea1f0633a1b46974014a75dd12b /apps/federatedfilesharing/lib/FederatedShareProvider.php
parentb7b84305a3388af3b678c95d105f6553952b0959 (diff)
downloadnextcloud-server-41a1528888062610af58e319ce7bfa3ef8784da3.tar.gz
nextcloud-server-41a1528888062610af58e319ce7bfa3ef8784da3.zip
implement decline share
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'apps/federatedfilesharing/lib/FederatedShareProvider.php')
-rw-r--r--apps/federatedfilesharing/lib/FederatedShareProvider.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/federatedfilesharing/lib/FederatedShareProvider.php b/apps/federatedfilesharing/lib/FederatedShareProvider.php
index 07597cae8e5..84aeb8b78cb 100644
--- a/apps/federatedfilesharing/lib/FederatedShareProvider.php
+++ b/apps/federatedfilesharing/lib/FederatedShareProvider.php
@@ -709,7 +709,7 @@ class FederatedShareProvider implements IShareProvider {
$cursor->closeCursor();
if ($data === false) {
- throw new ShareNotFoundException();
+ throw new ShareNotFoundException('Can not find share with ID: ' . $id);
}
try {