]> git.mxchange.org Git - friendica.git/blob - mod/randprof.php
Bugfix: The user id wasn't fetched correctly.
[friendica.git] / mod / randprof.php
1 <?php
2
3
4 function randprof_init(&$a) {
5         require_once('include/Contact.php');
6         $x = random_profile();
7         if($x)
8                 goaway(zrl($x));
9         goaway($a->get_baseurl() . '/profile');
10 }