Use magicLink whenever possible
This commit is contained in:
parent
885f2b52d1
commit
8a34895a23
23 changed files with 61 additions and 165 deletions
|
@ -4,6 +4,7 @@
|
|||
*/
|
||||
use Friendica\App;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Model\Contact;
|
||||
use Friendica\Model\GContact;
|
||||
use Friendica\Model\Profile;
|
||||
|
||||
|
@ -12,7 +13,7 @@ function randprof_init(App $a)
|
|||
$x = GContact::getRandomUrl();
|
||||
|
||||
if ($x) {
|
||||
goaway(Profile::zrl($x));
|
||||
goaway(Contact::magicLink($x));
|
||||
}
|
||||
|
||||
goaway(System::baseUrl() . '/profile');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue