X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d73a5d4bc015d304e7b8863a0e927ac0b134e07b..71c5cb21c5d3255899a405599261b3bb182ba321:/app/models/user_block.rb?ds=sidebyside diff --git a/app/models/user_block.rb b/app/models/user_block.rb index 02af385a7..27bc40498 100644 --- a/app/models/user_block.rb +++ b/app/models/user_block.rb @@ -32,7 +32,7 @@ class UserBlock < ActiveRecord::Base belongs_to :creator, :class_name => "User", :foreign_key => :creator_id belongs_to :revoker, :class_name => "User", :foreign_key => :revoker_id - PERIODS = USER_BLOCK_PERIODS + PERIODS = Settings.user_block_periods ## # scope to match active blocks