]> git.mxchange.org Git - friendica.git/blob - mod/randprof.php
Merge pull request #3789 from Alkarex/french_regions
[friendica.git] / mod / randprof.php
1 <?php
2
3 use Friendica\App;
4 use Friendica\Core\System;
5
6 function randprof_init(App $a) {
7         require_once('include/Contact.php');
8
9         $x = random_profile();
10
11         if ($x) {
12                 goaway(zrl($x));
13         }
14
15         goaway(System::baseUrl() . '/profile');
16 }