mirror of
https://github.com/friendica/friendica
synced 2025-04-21 15:50:13 +00:00
Random profiles now moved away from "gcontact" as well
This commit is contained in:
parent
c03cf39c26
commit
bb1517a74c
4 changed files with 22 additions and 25 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue