*much* more usage of App::get_baseurl() instead of $a->get_baseurl() (coding conventi...
[friendica.git/.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(App::get_baseurl() . '/profile');
10 }