Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-09-16 21:09:47 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-09-16 21:09:47 +0300
commitbf1600d157465f9408aace91073954fd5790c054 (patch)
treef317bb99330769c4eb37621c860af014810e554b /lib/gitlab/sourcegraph.rb
parent6de7d2c195a8a7fa5702cafa4365f7a9fcac37cd (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/sourcegraph.rb')
-rw-r--r--lib/gitlab/sourcegraph.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/sourcegraph.rb b/lib/gitlab/sourcegraph.rb
index ec404ebd309..231d5aea129 100644
--- a/lib/gitlab/sourcegraph.rb
+++ b/lib/gitlab/sourcegraph.rb
@@ -12,8 +12,8 @@ module Gitlab
!feature.off?
end
- def feature_enabled?(thing = nil)
- feature.enabled?(thing)
+ def feature_enabled?(actor = nil)
+ feature.enabled?(actor)
end
private