]> projects.mako.cc - selectricity-live/blobdiff - app/models/quick_vote.rb
Fix WHOIS library not to puke on strange IP addresses
[selectricity-live] / app / models / quick_vote.rb
index e0bab76fccf4a8654dffabb461eb105aadd6a1fd..de78813153025698796b8ce274f711072cf984e5 100644 (file)
@@ -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

Benjamin Mako Hill || Want to submit a patch?