]> git.mxchange.org Git - friendica.git/blobdiff - mod/starred.php
Merge pull request #3743 from MrPetovan/task/update-languagedetect
[friendica.git] / mod / starred.php
index 46d3fcff66835644c0b802bfb98db8a8d3a06edf..f8e845bc6ec8f27181838abb00a542fdeedcac82 100644 (file)
@@ -1,5 +1,7 @@
 <?php
 
+use Friendica\App;
+use Friendica\Core\System;
 
 function starred_init(App $a) {
 
@@ -47,7 +49,7 @@ function starred_init(App $a) {
                        $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