summaryrefslogtreecommitdiff
path: root/lib/gitlab/counters/legacy_counter.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-01-10 00:08:43 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-01-10 00:08:43 +0000
commit070ac34d473978dc27ea2878ed1cf17865e24e9a (patch)
tree2abb88435614f49c3ce3baed2f3316e6140d95a4 /lib/gitlab/counters/legacy_counter.rb
parentd4b2ad25a56a9baf41a27a2190458330645b3102 (diff)
downloadgitlab-ce-070ac34d473978dc27ea2878ed1cf17865e24e9a.tar.gz
Add latest changes from gitlab-org/gitlab@master
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)