]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/user_block.rb
Add links to the ToU and include them in signup
[rails.git] / app / models / user_block.rb
index 02af385a7a09389c88aa722ca8766054e3f2f29f..27bc40498b90ba455006ffd054a2eadbb3e7d60f 100644 (file)
@@ -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