From b557f52c2290379b99838f86c7ab90892b955b41 Mon Sep 17 00:00:00 2001 From: "John Molakvoæ (skjnldsv)" Date: Mon, 12 Aug 2019 10:56:23 +0200 Subject: Add expiration event for shares MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- lib/public/Share/IShare.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/public/Share') 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 @@ -257,6 +257,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 * -- cgit v1.2.3