X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/008cc97a2f0d84b4de46f2125133afe6c7f620c7..efee1116c83bf5d42320b7c389560eff75a78b39:/app/models/quick_vote.rb?ds=inline 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