From: Jonny Tischbein Date: Tue, 9 Oct 2018 18:44:30 +0000 (+0200) Subject: goaway to network if deleted item + remove goaway for filerm X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=29033bdf05f1d4db09f319659ca533894eab4c7f;p=friendica.git goaway to network if deleted item + remove goaway for filerm --- diff --git a/include/items.php b/include/items.php index cfd792e2da..e8e2a5da0d 100644 --- a/include/items.php +++ b/include/items.php @@ -407,7 +407,7 @@ function drop_item($id) // delete the item Item::deleteForUser(['id' => $item['id']], local_user()); - goaway('/item/drop/' . $id); + goaway('/network'); //NOTREACHED } else { notice(L10n::t('Permission denied.') . EOL); diff --git a/mod/filerm.php b/mod/filerm.php index 55b218e151..7fb978ae69 100644 --- a/mod/filerm.php +++ b/mod/filerm.php @@ -25,7 +25,7 @@ function filerm_content(App $a) { file_tag_unsave_file(local_user(),$item_id,$term, $category); } - goaway('/network'); + //goaway('/network'); killme(); }