1
0
Fork 0

Merge pull request #12298 from annando/api-suggestions

Contact suggestions are now cached
This commit is contained in:
Hypolite Petovan 2022-12-01 05:25:44 -05:00 committed by GitHub
commit 2baa56d478
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 276 additions and 18 deletions

View file

@ -144,7 +144,7 @@ function vier_community_info()
// comunity_profiles
if ($show_profiles) {
$contacts = Contact\Relation::getSuggestions(DI::userSession()->getLocalUserId(), 0, 9);
$contacts = Contact\Relation::getCachedSuggestions(DI::userSession()->getLocalUserId(), 0, 9);
$tpl = Renderer::getMarkupTemplate('ch_directory_item.tpl');
if (DBA::isResult($contacts)) {