1
0
Fork 0
friendica_2020-09-1_sharedH.../mod/randprof.php
2017-12-07 23:57:56 -05:00

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