mirror of
https://github.com/friendica/friendica
synced 2024-12-23 02:40:17 +00:00
goaway to network if deleted item + remove goaway for filerm
This commit is contained in:
parent
d18421f760
commit
29033bdf05
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -25,7 +25,7 @@ function filerm_content(App $a) {
|
|||
file_tag_unsave_file(local_user(),$item_id,$term, $category);
|
||||
}
|
||||
|
||||
goaway('/network');
|
||||
//goaway('/network');
|
||||
|
||||
killme();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue