1
0
Fork 0

Only perform Term::deleteAllTags when needed + not needed redirect

This commit is contained in:
Jonny Tischbein 2018-10-23 13:38:31 +02:00
commit 26ed71cc14
2 changed files with 3 additions and 5 deletions

View file

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