]> git.mxchange.org Git - friendica.git/blobdiff - mod/ignored.php
missing linebreaks and a small typo
[friendica.git] / mod / ignored.php
index 99b3a3ddcca3c486420d860336b0eeb5891f8734..5c304c2950c8ae45c96ad457b800a6b63c270158 100644 (file)
@@ -1,7 +1,9 @@
 <?php
 
+use Friendica\App;
+use Friendica\Core\System;
 
-function ignored_init(App &$a) {
+function ignored_init(App $a) {
 
        $ignored = 0;
 
@@ -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