Revert "posts: remove tag limit from searches."

This reverts commit 2543a2b05b.
This commit is contained in:
evazion
2022-04-13 03:13:50 -05:00
parent 15a0fd604b
commit dce98286db

View File

@@ -450,7 +450,6 @@ class User < ApplicationRecord
end
def tag_query_limit(level)
return Float::INFINITY
if level >= User::Levels::MEMBER && Danbooru.config.is_promotion?
Float::INFINITY
elsif level >= User::Levels::BUILDER