friendica/mod/randprof.php

11 lines
171 B
PHP
Raw Normal View History

2012-04-11 03:50:31 +00:00
<?php
2012-04-11 03:50:31 +00:00
function randprof_init(&$a) {
require_once('include/Contact.php');
$x = random_profile();
if($x)
2012-04-14 12:07:00 +00:00
goaway(zrl($x));
goaway(App::get_baseurl() . '/profile');
2012-04-11 03:50:31 +00:00
}