Skip to content

Commit

Permalink
adapted to latest changes in CardDAV-PHP class
Browse files Browse the repository at this point in the history
  • Loading branch information
jens-maus committed May 25, 2015
1 parent 0d1a941 commit 20b1e59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions carddav2fb.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ public function get_carddav_entries() {

foreach($this->config['carddav'] as $conf) {
print " " . $conf['url'] . PHP_EOL;
$carddav = new carddav_backend($conf['url']);
$carddav->set_auth($conf['user'], $conf['pw']);
$carddav = new CardDavPHP\CardDavBackend($conf['url']);
$carddav->setAuth($conf['user'], $conf['pw']);
$xmldata = $carddav->get();

// identify if we received UTF-8 encoded data from the
Expand Down
2 changes: 1 addition & 1 deletion lib/CardDAV-PHP
Submodule CardDAV-PHP updated 2 files
+0 −0 README.md
+671 −640 carddav.php

0 comments on commit 20b1e59

Please sign in to comment.