users: give platinum users unlimited tags.

May as well do this now since Platinum upgrades are disabled.
This commit is contained in:
evazion
2022-04-27 23:26:28 -05:00
parent 83e0ce9dee
commit 6ac6f60b1b

View File

@@ -452,10 +452,8 @@ class User < ApplicationRecord
def tag_query_limit(level)
if level >= User::Levels::MEMBER && Danbooru.config.is_promotion?
Float::INFINITY
elsif level >= User::Levels::BUILDER
elsif level >= User::Levels::PLATINUM
Float::INFINITY
elsif level == User::Levels::PLATINUM
12
elsif level == User::Levels::GOLD
6
else