visit "random profile" feature

This commit is contained in:
friendica 2012-04-10 20:50:31 -07:00
commit b02a671494
5 changed files with 22 additions and 1 deletions

10
mod/randprof.php Normal file
View file

@ -0,0 +1,10 @@
<?php
function randprof_init(&$a) {
require_once('include/Contact.php');
$x = random_profile();
if($x)
goaway($x);
goaway($a->get_baseurl() . '/profile');
}