<?php
+use Friendica\App;
+use Friendica\Core\System;
-function ignored_init(&$a) {
+function ignored_init(App $a) {
$ignored = 0;
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