<?php
+use Friendica\App;
+use Friendica\Core\System;
-function starred_init(&$a) {
+function starred_init(App $a) {
require_once("include/threads.php");
$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