From bf03e3cb5ca5fb6c6c0bf1143c06c3d131af645f Mon Sep 17 00:00:00 2001 From: Henare Degan Date: Fri, 22 May 2015 18:30:41 +0200 Subject: Remove unused method --- app/models/info_request.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'app/models/info_request.rb') diff --git a/app/models/info_request.rb b/app/models/info_request.rb index 38627df50..92cb4b208 100644 --- a/app/models/info_request.rb +++ b/app/models/info_request.rb @@ -212,10 +212,6 @@ class InfoRequest < ActiveRecord::Base OLD_AGE_IN_DAYS = 21.days - def visible_comments - self.comments.find(:all, :conditions => 'visible') - end - # If the URL name has changed, then all request: queries will break unless # we update index for every event. Also reindex if prominence changes. after_update :reindex_some_request_events -- cgit v1.2.3