]> git.mxchange.org Git - friendica.git/blobdiff - mod/filerm.php
Replace goaway location SESSION var return_url with page as string value
[friendica.git] / mod / filerm.php
index bd46a8bfea2cc540eac71b44b24a9d0637654195..55b218e1519df0fd337321d21405ff9a3e21b28b 100644 (file)
@@ -25,9 +25,7 @@ function filerm_content(App $a) {
                file_tag_unsave_file(local_user(),$item_id,$term, $category);
        }
 
-       if (x($_SESSION,'return_url')) {
-               goaway(System::baseUrl() . '/' . $_SESSION['return_url']);
-       }
+       goaway('/network');
 
        killme();
 }