]> git.mxchange.org Git - friendica.git/blobdiff - mod/starred.php
Removed unused template variable
[friendica.git] / mod / starred.php
index 84baa82ceacf4bbc4a0595022727b603e4c0634a..f8e845bc6ec8f27181838abb00a542fdeedcac82 100644 (file)
@@ -1,7 +1,9 @@
 <?php
 
+use Friendica\App;
+use Friendica\Core\System;
 
-function starred_init(&$a) {
+function starred_init(App $a) {
 
        require_once("include/threads.php");
 
@@ -47,7 +49,7 @@ function starred_init(&$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