friendica/mod/randprof.php

11 lines
165 B
PHP
Raw Normal View History

2012-04-10 23:50:31 -04:00
<?php
function randprof_init(&$a) {
require_once('include/Contact.php');
$x = random_profile();
if($x)
goaway($x);
goaway($a->get_baseurl() . '/profile');
}