X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7b384f03ab1d34fd3ebcc5ae3add25b3b5591e2e..832b96b75ac05177e6baad7b414066ccfd7cfa51:/app/models/user_block.rb diff --git a/app/models/user_block.rb b/app/models/user_block.rb index 23e1bcab6..8c7ae390b 100644 --- a/app/models/user_block.rb +++ b/app/models/user_block.rb @@ -5,7 +5,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 = APP_CONFIG['user_block_periods'] + PERIODS = USER_BLOCK_PERIODS ## # returns true if the block is currently active (i.e: the user can't