From cfbd214983e70226f107352bc8ff145253a6beb0 Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Mon, 12 Jan 2015 12:23:06 +0000 Subject: Remove duplicate method. --- app/models/info_request.rb | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'app/models/info_request.rb') 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 -- cgit v1.2.3