Commit 0c8c4636 authored by Stan Hu's avatar Stan Hu

Merge branch 'ce-to-ee-2018-03-17' into 'master'

CE upstream - 2018-03-17 00:26 UTC

See merge request gitlab-org/gitlab-ee!5005
parents 771cc617 0d28c5c1
......@@ -50,7 +50,7 @@ module Gitlab
end
def disabled_by_feature(options)
options.with_feature && !Feature.get(options.with_feature).enabled?
options.with_feature && !::Feature.get(options.with_feature).enabled?
end
def build_metric!(type, name, options)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment