]> git.mxchange.org Git - friendica.git/blobdiff - mod/randprof.php
Removed unused template variable
[friendica.git] / mod / randprof.php
index 8d9083ada484019506231cdeaf7c5db6c789a5ca..f835780e07146c9c4fac97f7f01bd102a8598e75 100644 (file)
@@ -1,6 +1,7 @@
 <?php
 
 use Friendica\App;
+use Friendica\Core\System;
 
 function randprof_init(App $a) {
        require_once('include/Contact.php');
@@ -11,5 +12,5 @@ function randprof_init(App $a) {
                goaway(zrl($x));
        }
 
-       goaway(App::get_baseurl() . '/profile');
+       goaway(System::baseUrl() . '/profile');
 }