3 * @file mod/randprof.php
6 use Friendica\Core\System;
7 use Friendica\Model\Contact;
8 use Friendica\Model\GContact;
9 use Friendica\Model\Profile;
11 function randprof_init(App $a)
13 $x = GContact::getRandomUrl();
16 goaway(Contact::magicLink($x));
19 goaway(System::baseUrl() . '/profile');