<?php
-function filerm_content(App &$a) {
+use Friendica\App;
+use Friendica\Core\System;
+
+function filerm_content(App $a) {
if (! local_user()) {
killme();
file_tag_unsave_file(local_user(),$item_id,$term, $category);
}
-<<<<<<< upstream/develop
if (x($_SESSION,'return_url')) {
- goaway(App::get_baseurl() . '/' . $_SESSION['return_url']);
+ goaway(System::baseUrl() . '/' . $_SESSION['return_url']);
}
-=======
- if(x($_SESSION,'return_url'))
- goaway(App::get_baseurl() . '/' . $_SESSION['return_url']);
->>>>>>> HEAD~33
killme();
}