diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2018-06-07 14:40:12 +0200 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2018-07-02 11:29:29 +0200 |
commit | 957b27f28267fd95bec9c8a041ca1e7be9d32aa6 (patch) | |
tree | 3b246af7f382572f53624e7afe32bd237da01a09 /lib/public/Share/IShareProvider.php | |
parent | 61485e3e600d5a9359ac215602c4778f00d38823 (diff) | |
download | nextcloud-server-957b27f28267fd95bec9c8a041ca1e7be9d32aa6.tar.gz nextcloud-server-957b27f28267fd95bec9c8a041ca1e7be9d32aa6.zip |
replace \OCP\Federation\Exception\ShareNotFoundException with the generic \OCP\Share\Exception\ShareNotFound exception
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'lib/public/Share/IShareProvider.php')
-rw-r--r-- | lib/public/Share/IShareProvider.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/public/Share/IShareProvider.php b/lib/public/Share/IShareProvider.php index bcb12de8b84..4a1ac9b8b8d 100644 --- a/lib/public/Share/IShareProvider.php +++ b/lib/public/Share/IShareProvider.php @@ -24,7 +24,6 @@ namespace OCP\Share; -use OCP\Federation\Exceptions\ShareNotFoundException; use OCP\Files\Folder; use OCP\Files\Node; @@ -125,7 +124,7 @@ interface IShareProvider { * @param int $id * @param string|null $recipientId * @return \OCP\Share\IShare - * @throws ShareNotFoundException + * @throws ShareNotFound * @since 9.0.0 */ public function getShareById($id, $recipientId = null); |