]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix failing unit tests
authorThomas Müller <thomas.mueller@tmit.eu>
Wed, 16 Dec 2015 21:56:16 +0000 (22:56 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Fri, 18 Dec 2015 08:18:38 +0000 (09:18 +0100)
apps/dav/lib/carddav/carddavbackend.php

index fb4f3635559e4a09b2ac6e43a559364859bbaacc..95175b20d1b790b7c36c8852ab4726d50da43d15 100644 (file)
@@ -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')