diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-10 00:08:43 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-10 00:08:43 +0000 |
commit | 070ac34d473978dc27ea2878ed1cf17865e24e9a (patch) | |
tree | 2abb88435614f49c3ce3baed2f3316e6140d95a4 /lib/gitlab/counters/legacy_counter.rb | |
parent | d4b2ad25a56a9baf41a27a2190458330645b3102 (diff) | |
download | gitlab-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.rb | 4 |
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) |