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:
parent
5eb4923ce5
commit
9da7357bb5
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user