diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2019-08-26 12:58:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-26 12:58:51 +0200 |
commit | b1a0d464ba599e32936f284e7bdba0bf246ab70c (patch) | |
tree | 3f79e491eb6933fe3c2b5b01f0ae5e0c4c1e58bc /lib/public/Share | |
parent | 40edabaf6170e74d319d11585b673316348e1ff3 (diff) | |
parent | b557f52c2290379b99838f86c7ab90892b955b41 (diff) | |
download | nextcloud-server-b1a0d464ba599e32936f284e7bdba0bf246ab70c.tar.gz nextcloud-server-b1a0d464ba599e32936f284e7bdba0bf246ab70c.zip |
Merge pull request #16723 from nextcloud/fix/sharing/unshare-message
Add expiration event for shares
Diffstat (limited to 'lib/public/Share')
-rw-r--r-- | lib/public/Share/IShare.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/Share/IShare.php b/lib/public/Share/IShare.php index 60bbe31d406..3b16fcaec0f 100644 --- a/lib/public/Share/IShare.php +++ b/lib/public/Share/IShare.php @@ -315,6 +315,14 @@ interface IShare { public function getExpirationDate(); /** + * Is the share expired ? + * + * @return boolean + * @since 18.0.0 + */ + public function isExpired(); + + /** * set a label for a share, some shares, e.g. public links can have a label * * @param string $label |