friendica_2021-01/mod/randprof.php
2016-12-20 10:19:20 +01:00

11 lines
171 B
PHP

<?php
function randprof_init(&$a) {
require_once('include/Contact.php');
$x = random_profile();
if($x)
goaway(zrl($x));
goaway(App::get_baseurl() . '/profile');
}