]> git.mxchange.org Git - friendica.git/blobdiff - mod/ignored.php
missing linebreaks and a small typo
[friendica.git] / mod / ignored.php
index 0065d51c58e3b8386b53ac93ea095d1ceca5b76d..5c304c2950c8ae45c96ad457b800a6b63c270158 100644 (file)
@@ -1,5 +1,7 @@
 <?php
 
+use Friendica\App;
+use Friendica\Core\System;
 
 function ignored_init(App $a) {
 
@@ -40,7 +42,7 @@ function ignored_init(App $a) {
                if(strpos($return_path, '?')) $rand = "&$rand";
                else $rand = "?$rand";
 
-               goaway(App::get_baseurl() . "/" . $return_path . $rand);
+               goaway(System::baseUrl() . "/" . $return_path . $rand);
        }
 
        // the json doesn't really matter, it will either be 0 or 1