aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenare Degan <henare.degan@gmail.com>2015-05-22 18:30:41 +0200
committerHenare Degan <henare.degan@gmail.com>2015-05-22 18:30:41 +0200
commitbf03e3cb5ca5fb6c6c0bf1143c06c3d131af645f (patch)
tree572e50723993d226625ca980980f9beacc724a3f
parent28c807f84a39e58c0dd74e9db7808b5a9d70e796 (diff)
Remove unused method
-rw-r--r--app/models/info_request.rb4
1 files changed, 0 insertions, 4 deletions
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