config: remove customize_new_user config option.

This commit is contained in:
evazion
2020-06-02 18:18:37 -05:00
parent 484eacfd3b
commit 47e6821a31
2 changed files with 0 additions and 19 deletions

View File

@@ -80,7 +80,6 @@ class User < ApplicationRecord
validates_presence_of :comment_threshold
before_validation :normalize_blacklisted_tags
before_create :promote_to_admin_if_first_user
before_create :customize_new_user
has_many :artists, foreign_key: :creator_id
has_many :artist_versions, foreign_key: :updater_id
has_many :artist_commentary_versions, foreign_key: :updater_id
@@ -256,10 +255,6 @@ class User < ApplicationRecord
end
end
def customize_new_user
Danbooru.config.customize_new_user(self)
end
def level_string_was
level_string(level_was)
end