users: give platinum users unlimited tags.
May as well do this now since Platinum upgrades are disabled.
This commit is contained in:
@@ -452,10 +452,8 @@ class User < ApplicationRecord
|
|||||||
def tag_query_limit(level)
|
def tag_query_limit(level)
|
||||||
if level >= User::Levels::MEMBER && Danbooru.config.is_promotion?
|
if level >= User::Levels::MEMBER && Danbooru.config.is_promotion?
|
||||||
Float::INFINITY
|
Float::INFINITY
|
||||||
elsif level >= User::Levels::BUILDER
|
elsif level >= User::Levels::PLATINUM
|
||||||
Float::INFINITY
|
Float::INFINITY
|
||||||
elsif level == User::Levels::PLATINUM
|
|
||||||
12
|
|
||||||
elsif level == User::Levels::GOLD
|
elsif level == User::Levels::GOLD
|
||||||
6
|
6
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user