mirror of
https://github.com/friendica/friendica
synced 2025-04-25 05:10:11 +00:00
Contact suggestions are now cached
This commit is contained in:
parent
8eda9dfe7c
commit
f31e617f5d
13 changed files with 218 additions and 17 deletions
|
@ -57,7 +57,7 @@ class Suggestions extends \Friendica\BaseModule
|
|||
$this->page['aside'] .= Widget::findPeople();
|
||||
$this->page['aside'] .= Widget::follow();
|
||||
|
||||
$contacts = Contact\Relation::getSuggestions($this->session->getLocalUserId());
|
||||
$contacts = Contact\Relation::getCachedSuggestions($this->session->getLocalUserId());
|
||||
if (!$contacts) {
|
||||
return $this->t('No suggestions available. If this is a new site, please try again in 24 hours.');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue