Merge pull request #12298 from annando/api-suggestions
Contact suggestions are now cached
This commit is contained in:
commit
2baa56d478
17 changed files with 276 additions and 18 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue