typo fixes
This commit is contained in:
parent
51610b9601
commit
ad72e877cc
1 changed files with 3 additions and 3 deletions
|
@ -81,11 +81,11 @@ class abook_carddav extends addressbook_backend {
|
||||||
*/
|
*/
|
||||||
function open() {
|
function open() {
|
||||||
// backend open function
|
// backend open function
|
||||||
$this->$account = new Account(DISCOVERY_URI, USERNAME, PASSWORD);
|
$this->account = new Account(DISCOVERY_URI, USERNAME, PASSWORD);
|
||||||
// Discover the addressbooks for that account
|
// Discover the addressbooks for that account
|
||||||
try {
|
try {
|
||||||
$discover = new Discovery();
|
$discover = new Discovery();
|
||||||
$abooks = $discover->discoverAddressbooks($account);
|
$abooks = $discover->discoverAddressbooks($this->account);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
// $log->error("!!! Error during addressbook discovery: " . $e->getMessage());
|
// $log->error("!!! Error during addressbook discovery: " . $e->getMessage());
|
||||||
exit(1);
|
exit(1);
|
||||||
|
@ -165,7 +165,7 @@ class abook_carddav extends addressbook_backend {
|
||||||
$ret = array();
|
$ret = array();
|
||||||
|
|
||||||
// list all addresses having an email
|
// list all addresses having an email
|
||||||
$all=this->$abook->query(['EMAIL' => "//"],["FN", "N", "EMAIL", "ORG"]);
|
$all=$this->abook->query(['EMAIL' => "//"],["FN", "N", "EMAIL", "ORG"]);
|
||||||
/*
|
/*
|
||||||
Returns an array of matched VCards:
|
Returns an array of matched VCards:
|
||||||
The keys of the array are the URIs of the vcards
|
The keys of the array are the URIs of the vcards
|
||||||
|
|
Loading…
Reference in a new issue