1
0
Fork 0
friendica_2020-09-1_sharedH.../mod/randprof.php
2017-12-08 05:21:51 +01:00

15 lines
237 B
PHP

<?php
use Friendica\App;
use Friendica\Core\System;
use Friendica\Model\GlobalContact;
function randprof_init(App $a) {
$x = GlobalContact::getRandomUrl();
if ($x) {
goaway(zrl($x));
}
goaway(System::baseUrl() . '/profile');
}