Commit c2cbfd8aaa01fb42bab91f515e411b355ebd05e6
1 parent
deefcbc0
Exists in
master
and in
1 other branch
remove unused old method from problems model
Showing
1 changed file
with
0 additions
and
4 deletions
Show diff stats
app/models/problem.rb
@@ -217,10 +217,6 @@ class Problem | @@ -217,10 +217,6 @@ class Problem | ||
217 | end | 217 | end |
218 | end | 218 | end |
219 | 219 | ||
220 | - def self.in_date_range(date_range) | ||
221 | - where(:first_notice_at.lte => date_range.end).where("$or" => [{:resolved_at => nil}, {:resolved_at.gte => date_range.begin}]) | ||
222 | - end | ||
223 | - | ||
224 | def cache_app_attributes | 220 | def cache_app_attributes |
225 | if app | 221 | if app |
226 | self.app_name = app.name | 222 | self.app_name = app.name |