1
0
Fork 0

Contact suggestions are now cached

This commit is contained in:
Michael 2022-11-30 05:59:27 +00:00
commit f31e617f5d
13 changed files with 218 additions and 17 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)) {