Only perform Term::deleteAllTags when needed + not needed redirect
This commit is contained in:
parent
272eb5eb82
commit
26ed71cc14
2 changed files with 3 additions and 5 deletions
|
@ -71,9 +71,6 @@ function update_tags($item_id, $tags){
|
|||
Item::update(['tag' => $tag_str], ['id' => $item_id]);
|
||||
|
||||
info(L10n::t('Tag(s) removed') . EOL );
|
||||
$a->internalRedirect($_SESSION['photo_return']);
|
||||
|
||||
// NOTREACHED
|
||||
}
|
||||
|
||||
function tagrm_content(App $a)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue