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

Add in the localuseradressbookprovider

This commit is contained in:
Tobia De Koninck 2014-04-27 16:43:13 +02:00
parent 8e6ad1805d
commit 594088a258

View File

@ -68,7 +68,7 @@ class LocalUsersAddressbookProvider implements \OCP\IAddressBook {
*/ */
public function search($pattern, $searchProperties, $options) { public function search($pattern, $searchProperties, $options) {
// First make sure the database is updated // First make sure the database is updated
$this->addressBook->getBackend()->updateDatabase(); $this->addressBook->getBackend()->updateDatabase(\OCP\User::getUSer());
$ids = array(); $ids = array();
$results = array(); $results = array();