Random profiles now moved away from "gcontact" as well

This commit is contained in:
Michael 2020-08-02 08:07:31 +00:00
parent c03cf39c26
commit bb1517a74c
4 changed files with 22 additions and 25 deletions

View 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);