1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-18 07:52:21 +01:00

Revert change to app.php so the searchProvider from the addressbook is loaded

This commit is contained in:
Tobia De Koninck 2014-05-15 19:30:28 +02:00
parent 5eb4923ce5
commit 9da7357bb5

View File

@ -66,8 +66,8 @@ if (\OCP\User::isLoggedIn()) {
$addressBooks = $app->getAddressBooksForUser();
foreach ($addressBooks as $addressBook) {
if ($addressBook->isActive()) {
\OCP\Contacts::registerAddressBook(new AddressbookProvider($addressBook));
}
\OCP\Contacts::registerAddressBook($addressBook->getSearchProvider());
}
}
}