Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-08-12 11:56:23 +0300
committerJoas Schilling <coding@schilljs.com>2019-08-21 09:30:17 +0300
commitb557f52c2290379b99838f86c7ab90892b955b41 (patch)
treef4159cc4446ebe5dec2fd042d4a69f3a715ad977 /lib/public/Share
parentdd02920aedc63e89c8c8cf2e2c41344954bac08c (diff)
Add expiration event for shares
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/public/Share')
-rw-r--r--lib/public/Share/IShare.php8
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