1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-11-29 11:24:11 +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) {
// First make sure the database is updated
$this->addressBook->getBackend()->updateDatabase();
$this->addressBook->getBackend()->updateDatabase(\OCP\User::getUSer());
$ids = array();
$results = array();