summaryrefslogtreecommitdiff
path: root/lib/gitlab/counters/legacy_counter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/counters/legacy_counter.rb')
-rw-r--r--lib/gitlab/counters/legacy_counter.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/gitlab/counters/legacy_counter.rb b/lib/gitlab/counters/legacy_counter.rb
index 0d976eaa346..823f9955168 100644
--- a/lib/gitlab/counters/legacy_counter.rb
+++ b/lib/gitlab/counters/legacy_counter.rb
@@ -35,10 +35,6 @@ module Gitlab
@current_value
end
- def reset!
- counter_record.update!(attribute => 0)
- end
-
private
def update_counter_record_attribute(amount)