summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV/CalDavBackend.php
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2016-09-23 14:30:24 +0200
committerLukas Reschke <lukas@statuscode.ch>2016-09-27 18:30:19 +0200
commit5215833fe4b661c46dfed88eb29754011dbb899f (patch)
treebbaffd917a7bdbfffb91ca5e227a9bffaa71e8f5 /apps/dav/lib/CalDAV/CalDavBackend.php
parent97a47f49a14a9dd2b0edb12ac54649cf9f66584a (diff)
downloadnextcloud-server-5215833fe4b661c46dfed88eb29754011dbb899f.tar.gz
nextcloud-server-5215833fe4b661c46dfed88eb29754011dbb899f.zip
delete shares to an user
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'apps/dav/lib/CalDAV/CalDavBackend.php')
-rw-r--r--apps/dav/lib/CalDAV/CalDavBackend.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/dav/lib/CalDAV/CalDavBackend.php b/apps/dav/lib/CalDAV/CalDavBackend.php
index 17479c490a9..367b239a67d 100644
--- a/apps/dav/lib/CalDAV/CalDavBackend.php
+++ b/apps/dav/lib/CalDAV/CalDavBackend.php
@@ -508,6 +508,16 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
}
/**
+ * Delete all of an user's shares
+ *
+ * @param string $principaluri
+ * @return void
+ */
+ function deleteAllSharesForUser($principaluri) {
+ $this->sharingBackend->deleteAllSharesByUser($principaluri);
+ }
+
+ /**
* Returns all calendar objects within a calendar.
*
* Every item contains an array with the following keys: