aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2015-01-12 12:23:06 +0000
committerLouise Crow <louise.crow@gmail.com>2015-01-12 12:23:06 +0000
commitcfbd214983e70226f107352bc8ff145253a6beb0 (patch)
treedbd7368312729672f00190e57a4c0b3927b173ae
parentdc8d15f0b23c7d4857813c6c4bdc22e4349a00d0 (diff)
Remove duplicate method.
-rw-r--r--app/models/info_request.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/app/models/info_request.rb b/app/models/info_request.rb
index 2b60e13d8..8d455e488 100644
--- a/app/models/info_request.rb
+++ b/app/models/info_request.rb
@@ -210,16 +210,6 @@ class InfoRequest < ActiveRecord::Base
OLD_AGE_IN_DAYS = 21.days
- def after_initialize
- if self.described_state.nil?
- self.described_state = 'waiting_response'
- end
- # FOI or EIR?
- if !self.public_body.nil? && self.public_body.eir_only?
- self.law_used = 'eir'
- end
- end
-
def visible_comments
self.comments.find(:all, :conditions => 'visible')
end