mirror of
https://github.com/friendica/friendica
synced 2024-11-10 11:42:54 +00:00
15 lines
227 B
PHP
15 lines
227 B
PHP
<?php
|
|
|
|
use Friendica\App;
|
|
use Friendica\Core\System;
|
|
use Friendica\Model\GContact;
|
|
|
|
function randprof_init(App $a) {
|
|
$x = GContact::getRandomUrl();
|
|
|
|
if ($x) {
|
|
goaway(zrl($x));
|
|
}
|
|
|
|
goaway(System::baseUrl() . '/profile');
|
|
}
|