goaway to network if deleted item + remove goaway for filerm

This commit is contained in:
Jonny Tischbein 2018-10-09 20:44:30 +02:00
parent d18421f760
commit 29033bdf05
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -25,7 +25,7 @@ function filerm_content(App $a) {
file_tag_unsave_file(local_user(),$item_id,$term, $category);
}
goaway('/network');
//goaway('/network');
killme();
}