1
1
Fork 0
friendica_2019-12_sharedHos.../mod/randprof.php
2017-12-07 09:09:28 -05:00

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');
}