<?php
-function filerm_content(App &$a) {
+use Friendica\App;
+use Friendica\Core\System;
+
+function filerm_content(App $a) {
if (! local_user()) {
killme();
}
if (x($_SESSION,'return_url')) {
- goaway(App::get_baseurl() . '/' . $_SESSION['return_url']);
+ goaway(System::baseUrl() . '/' . $_SESSION['return_url']);
}
killme();