aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Share/IShareProvider.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Share/IShareProvider.php')
-rw-r--r--lib/public/Share/IShareProvider.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/Share/IShareProvider.php b/lib/public/Share/IShareProvider.php
index d00b9da7b59..e201ba81ebc 100644
--- a/lib/public/Share/IShareProvider.php
+++ b/lib/public/Share/IShareProvider.php
@@ -146,4 +146,14 @@ interface IShareProvider {
* @since 9.0.0
*/
public function getShareByToken($token);
+
+ /**
+ * A user is deleted from the system
+ * So clean up the relevant shares.
+ *
+ * @param string $uid
+ * @param int $shareType
+ * @since 9.1.0
+ */
+ public function userDeleted($uid, $shareType);
}