goaway to network if deleted item + remove goaway for filerm
This commit is contained in:
parent
d18421f760
commit
29033bdf05
|
@ -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