1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-18 07:52:21 +01:00
This commit is contained in:
Tobia De Koninck 2014-04-27 16:44:42 +02:00
parent 594088a258
commit feacd10f1a

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(\OCP\User::getUSer());
$this->addressBook->getBackend()->updateDatabase(\OCP\User::getUser());
$ids = array();
$results = array();