]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/RandomProfile.php
Merge pull request #9345 from annando/issue-9344
[friendica.git] / src / Module / RandomProfile.php
index 111d92dc40d638ec3fcc1433f8932a4c9392301b..65ce5659592e7bcce2e72704d6482f724b36321a 100644 (file)
@@ -24,7 +24,6 @@ namespace Friendica\Module;
 use Friendica\BaseModule;
 use Friendica\DI;
 use Friendica\Model\Contact;
-use Friendica\Model\GContact;
 
 /**
  * Redirects to a random Friendica profile this node knows about
@@ -35,7 +34,7 @@ class RandomProfile extends BaseModule
        {
                $a = DI::app();
 
-               $contactUrl = GContact::getRandomUrl();
+               $contactUrl = Contact::getRandomUrl();
 
                if ($contactUrl) {
                        $link = Contact::magicLink($contactUrl);