Commit 4e1b23c7 authored by Mayra Cabrera's avatar Mayra Cabrera
Browse files

Merge branch 'sh-remove-deprecation-warnings-from-com' into 'master'

Conditionally enable deprecation log messages

Closes #46158 and gitlab-com/infrastructure#4228

See merge request gitlab-org/gitlab-ce!18997
if Gitlab.dev_env_or_com?
if Rails.env.development? || ENV['GITLAB_LEGACY_PATH_LOG_MESSAGE']
deprecator ='11.0', 'GitLab')
deprecator.behavior = -> (message, callstack) {
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