Basic poll implementation

This commit is contained in:
Martin Lensment 2014-11-06 13:51:28 +02:00
parent c0edfd4b5b
commit 6888cd15a4
13 changed files with 82 additions and 21 deletions

View file

@ -13,6 +13,8 @@ class DomainTransfer < ActiveRecord::Base
before_create :set_wait_until
delegate :name, :valid_to, to: :domain, prefix: true
def set_wait_until
wait_time = Setting.transfer_wait_time
return if wait_time == 0