summaryrefslogtreecommitdiff
path: root/app/helpers/whats_new_helper.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-03-11 03:08:14 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-03-11 03:08:14 +0000
commitb131b6f6804bbcd22a22ce4ffe6566a384843f26 (patch)
tree12556081b23ccc647a73faf3af2f9f38f84bbb29 /app/helpers/whats_new_helper.rb
parentca443618b0decc6b2754bf560a9c7a319d3e9873 (diff)
downloadgitlab-ce-b131b6f6804bbcd22a22ce4ffe6566a384843f26.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers/whats_new_helper.rb')
-rw-r--r--app/helpers/whats_new_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/whats_new_helper.rb b/app/helpers/whats_new_helper.rb
index ccccfcb930b..bbf56c51c6d 100644
--- a/app/helpers/whats_new_helper.rb
+++ b/app/helpers/whats_new_helper.rb
@@ -10,7 +10,7 @@ module WhatsNewHelper
end
def display_whats_new?
- (Gitlab.dev_env_org_or_com? || user_signed_in?) &&
+ (Gitlab.org_or_com? || user_signed_in?) &&
!Gitlab::CurrentSettings.current_application_settings.whats_new_variant_disabled?
end