#2499 disallow manually adding mp4 tag

This commit is contained in:
Toks
2015-08-30 18:26:31 -04:00
parent 36da788503
commit 25ded91d4a

View File

@@ -591,7 +591,7 @@ class Post < ActiveRecord::Base
def add_automatic_tags(tags)
return tags if !Danbooru.config.enable_dimension_autotagging
tags -= %w(incredibly_absurdres absurdres highres lowres huge_filesize animated_gif flash webm)
tags -= %w(incredibly_absurdres absurdres highres lowres huge_filesize animated_gif flash webm mp4)
if has_dimensions?
if image_width >= 10_000 || image_height >= 10_000