diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-08-12 10:56:23 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-08-21 08:30:17 +0200 |
commit | b557f52c2290379b99838f86c7ab90892b955b41 (patch) | |
tree | f4159cc4446ebe5dec2fd042d4a69f3a715ad977 /lib/public/Share/IShare.php | |
parent | dd02920aedc63e89c8c8cf2e2c41344954bac08c (diff) | |
download | nextcloud-server-b557f52c2290379b99838f86c7ab90892b955b41.tar.gz nextcloud-server-b557f52c2290379b99838f86c7ab90892b955b41.zip |
Add expiration event for shares
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/public/Share/IShare.php')
-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 7bcecbdc872..0a93c3144c5 100644 --- a/lib/public/Share/IShare.php +++ b/lib/public/Share/IShare.php @@ -258,6 +258,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 |