X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/231fff75403a90305cae12be7643cc4c0dbbebbc..8a444bfe3f442135ba66e5d9b8cdddfa9e3b50f2:/app/models/quick_vote.rb diff --git a/app/models/quick_vote.rb b/app/models/quick_vote.rb index e0bab76..de78813 100644 --- a/app/models/quick_vote.rb +++ b/app/models/quick_vote.rb @@ -11,8 +11,6 @@ class QuickVote < Election self.startdate = Time.now self.active = 1 self.anonymous = 1 unless self.anonymous - self.enddate = read_attribute( :enddate ) || \ - Time.now + 30.days - 1.second end def validate