summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-07-19 15:05:46 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-07-19 15:12:15 +0200
commit4d9b34bb7e8eddef4db3e664356b19e121ea381c (patch)
tree60fc38fef77bad0d2ba702d921106b0ee19b808d
parentf281041fea2884ea666d7de701c8e824078b86cc (diff)
downloadgitlab-ce-4d9b34bb7e8eddef4db3e664356b19e121ea381c.tar.gz
Fix method visibility in gitlab metrics class
-rw-r--r--lib/gitlab/metrics.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/metrics.rb b/lib/gitlab/metrics.rb
index 49f702f91f6..f2758b5c44a 100644
--- a/lib/gitlab/metrics.rb
+++ b/lib/gitlab/metrics.rb
@@ -136,10 +136,10 @@ module Gitlab
end
end
- private
-
def self.current_transaction
Transaction.current
end
+
+ private_class_method :current_transaction
end
end