diff options
author | Henare Degan <henare.degan@gmail.com> | 2015-05-22 18:30:41 +0200 |
---|---|---|
committer | Henare Degan <henare.degan@gmail.com> | 2015-05-22 18:30:41 +0200 |
commit | bf03e3cb5ca5fb6c6c0bf1143c06c3d131af645f (patch) | |
tree | 572e50723993d226625ca980980f9beacc724a3f /app/models/info_request.rb | |
parent | 28c807f84a39e58c0dd74e9db7808b5a9d70e796 (diff) |
Remove unused method
Diffstat (limited to 'app/models/info_request.rb')
-rw-r--r-- | app/models/info_request.rb | 4 |
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 |