]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Contact/Suggestions.php
Changes:
[friendica.git] / src / Module / Contact / Suggestions.php
index 86e3f6cc8a2896c1a0b7be77e39c9aa4a4f43788..12cf27e6f12491903170b7dac7b617b7a1663efa 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2024, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -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.');
                }