aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-12-16 22:56:16 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-12-18 09:18:38 +0100
commit67e9506261e366cf45d92ca7bb5e4de269ecd657 (patch)
tree81ed6359d8d77e0d92192caf47288b501663092c
parentaac06a33f15b0489b0e337da86214ad6c459b95e (diff)
downloadnextcloud-server-67e9506261e366cf45d92ca7bb5e4de269ecd657.tar.gz
nextcloud-server-67e9506261e366cf45d92ca7bb5e4de269ecd657.zip
Fix failing unit tests
-rw-r--r--apps/dav/lib/carddav/carddavbackend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/carddav/carddavbackend.php b/apps/dav/lib/carddav/carddavbackend.php
index fb4f3635559..95175b20d1b 100644
--- a/apps/dav/lib/carddav/carddavbackend.php
+++ b/apps/dav/lib/carddav/carddavbackend.php
@@ -781,7 +781,7 @@ class CardDavBackend implements BackendInterface, SyncSupport {
}
// remove the share if it already exists
- $this->unshare($addressBookUri, $element);
+ $this->unshare($addressBookUri, $element['href']);
$query = $this->db->getQueryBuilder();
$query->insert('dav_shares')