]> git.mxchange.org Git - friendica.git/blobdiff - mod/filerm.php
Just some more fixed notice
[friendica.git] / mod / filerm.php
index 7dbfe29473dd38b02e7c51c9769a9720ed6e106c..bd46a8bfea2cc540eac71b44b24a9d0637654195 100644 (file)
@@ -1,6 +1,9 @@
 <?php
 
-function filerm_content(App &$a) {
+use Friendica\App;
+use Friendica\Core\System;
+
+function filerm_content(App $a) {
 
        if (! local_user()) {
                killme();
@@ -23,7 +26,7 @@ function filerm_content(App &$a) {
        }
 
        if (x($_SESSION,'return_url')) {
-               goaway(App::get_baseurl() . '/' . $_SESSION['return_url']);
+               goaway(System::baseUrl() . '/' . $_SESSION['return_url']);
        }
 
        killme();