X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/59102ea017825ceafdfe603cc43f9dd45e5c0ab6..9caa2046cad2f7ee4294cfe1a932a6ad56e5c32d:/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