]> git.mxchange.org Git - friendica.git/blob - mod/randprof.php
Don't show the local community page on single user instances
[friendica.git] / mod / randprof.php
1 <?php
2
3 use Friendica\App;
4 use Friendica\Core\System;
5 use Friendica\Model\GContact;
6
7 function randprof_init(App $a) {
8         $x = GContact::getRandomUrl();
9
10         if ($x) {
11                 goaway(zrl($x));
12         }
13
14         goaway(System::baseUrl() . '/profile');
15 }