1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-01 13:24:10 +01:00

Partial fix for #379.

This commit is contained in:
jbtbnl 2014-01-27 13:47:00 +01:00 committed by jbtbnl
parent a643669b15
commit 9530b8d14d

View File

@ -83,8 +83,6 @@ class Backend extends \Sabre_CardDAV_Backend_Abstract {
* @return bool|array
*/
public function updateAddressBook($addressbookid, array $mutations) {
$name = null;
$description = null;
$changes = array();
foreach($mutations as $property=>$newvalue) {
@ -119,7 +117,6 @@ class Backend extends \Sabre_CardDAV_Backend_Abstract {
public function createAddressBook($principaluri, $uri, array $properties) {
$properties = array();
$userid = $this->userIDByPrincipal($principaluri);
foreach($properties as $property => $newvalue) {
@ -175,7 +172,6 @@ class Backend extends \Sabre_CardDAV_Backend_Abstract {
* @return array
*/
public function getCards($addressbookid) {
$contacts = array();
list($id, $backend) = $this->getBackendForAddressBook($addressbookid);
$contacts = $backend->getContacts($id);