summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/HookManager.php
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2016-09-28 15:32:03 +0200
committerThomas Citharel <tcit@tcit.fr>2016-09-28 15:32:03 +0200
commit6c8bcb38f1124d0be7cee770ab67730d90dbd783 (patch)
tree0dc9a84a38b5e0b3310b379f91586e746e477a72 /apps/dav/lib/HookManager.php
parent479c427f2a3328ccf34b5ef57598eb8fc305f995 (diff)
downloadnextcloud-server-6c8bcb38f1124d0be7cee770ab67730d90dbd783.tar.gz
nextcloud-server-6c8bcb38f1124d0be7cee770ab67730d90dbd783.zip
Rename deleteAllSharesForUser() to deleteAllSharesByUser()
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'apps/dav/lib/HookManager.php')
-rw-r--r--apps/dav/lib/HookManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/HookManager.php b/apps/dav/lib/HookManager.php
index e54a39acf2f..364db19d76a 100644
--- a/apps/dav/lib/HookManager.php
+++ b/apps/dav/lib/HookManager.php
@@ -106,7 +106,7 @@ class HookManager {
foreach ($this->calendarsToDelete as $calendar) {
$this->calDav->deleteCalendar($calendar['id']);
}
- $this->calDav->deleteAllSharesForUser('principals/users/' . $uid);
+ $this->calDav->deleteAllSharesByUser('principals/users/' . $uid);
foreach ($this->addressBooksToDelete as $addressBook) {
$this->cardDav->deleteAddressBook($addressBook['id']);