3 namespace Friendica\Module;
5 use Friendica\BaseModule;
6 use Friendica\Model\Contact;
7 use Friendica\Model\GContact;
10 * Redirects to a random Friendica profile this node knows about
12 class RandomProfile extends BaseModule
14 public static function content(array $parameters = [])
18 $contactUrl = GContact::getRandomUrl();
21 $link = Contact::magicLink($contactUrl);
25 $a->internalRedirect('profile');