diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-06-18 12:46:52 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-06-22 15:34:06 +0200 |
commit | 738b78f1b0eec61f4a55dd356d6b6a541ff56246 (patch) | |
tree | cba20da65582db0e389c2b7017c4ffd0a49ff7f5 /lib/public | |
parent | 2b7e5f841a016e8682d560643dce4797758a44c3 (diff) | |
download | nextcloud-server-738b78f1b0eec61f4a55dd356d6b6a541ff56246.tar.gz nextcloud-server-738b78f1b0eec61f4a55dd356d6b6a541ff56246.zip |
Use \OC\HintException and translate the hint
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/share.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/public/share.php b/lib/public/share.php index 6c8b82f4293..797972bc1cb 100644 --- a/lib/public/share.php +++ b/lib/public/share.php @@ -255,6 +255,7 @@ class Share extends \OC\Share\Constants { * @param string $itemSourceName * @param \DateTime $expirationDate * @return bool|string Returns true on success or false on failure, Returns token on success for links + * @throws \OC\HintException when the share type is remote and the shareWith is invalid * @throws \Exception * @since 5.0.0 - parameter $itemSourceName was added in 6.0.0, parameter $expirationDate was added in 7.0.0 */ |