]> git.mxchange.org Git - friendica.git/blobdiff - mod/suggest.php
Merge pull request #11913 from tobiasd/2022.09-CHANGELOG
[friendica.git] / mod / suggest.php
index 192f59d910af4792084126140f096dcf79e3363e..adf41c0c60c6cadd501d0500409ef331a5f52ba6 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -39,7 +39,7 @@ function suggest_content(App $a)
        DI::page()['aside'] .= Widget::findPeople();
        DI::page()['aside'] .= Widget::follow();
 
-       $contacts = Contact::getSuggestions(local_user());
+       $contacts = Contact\Relation::getSuggestions(local_user());
        if (!DBA::isResult($contacts)) {
                return DI::l10n()->t('No suggestions available. If this is a new site, please try again in 24 hours.');
        }