X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7b08270526a34723f1bb9f68a1f0878838714b15..d102c9aaf478a4bad52a72b1b72470ba35ba464e:/app/models/user_block.rb 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