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
|
// delete the item
|
||||||
Item::deleteForUser(['id' => $item['id']], local_user());
|
Item::deleteForUser(['id' => $item['id']], local_user());
|
||||||
|
|
||||||
goaway('/item/drop/' . $id);
|
goaway('/network');
|
||||||
//NOTREACHED
|
//NOTREACHED
|
||||||
} else {
|
} else {
|
||||||
notice(L10n::t('Permission denied.') . EOL);
|
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);
|
file_tag_unsave_file(local_user(),$item_id,$term, $category);
|
||||||
}
|
}
|
||||||
|
|
||||||
goaway('/network');
|
//goaway('/network');
|
||||||
|
|
||||||
killme();
|
killme();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue