Merge remote-tracking branch 'friendica/develop' into develop
[friendica.git/.git] / mod / randprof.php
1 <?php
2
3
4 function randprof_init(&$a) {
5         require_once('include/Contact.php');
6
7         $x = random_profile();
8
9         if ($x) {
10                 goaway(zrl($x));
11         }
12
13         goaway(App::get_baseurl() . '/profile');
14 }