Dead code removal.

pull/1553/head
Rick Carlino 2019-10-30 17:19:47 -05:00
parent 4e9fe4ae7a
commit 6e57d80bdf
1 changed files with 0 additions and 2 deletions

View File

@ -105,8 +105,6 @@ class Device < ApplicationRecord
end
def maybe_unthrottle
raise "NO ID???: #{self.as_json}" unless self.id
if throttled_until.present?
old_time = throttled_until
update!(throttled_until: nil, throttled_at: nil)