Commit 399996ca authored by Mayra Cabrera's avatar Mayra Cabrera

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 !18997
parents 4609a126 90100c26
Pipeline #22214582 passed with stages
in 45 minutes and 30 seconds
if Gitlab.dev_env_or_com?
if Rails.env.development? || ENV['GITLAB_LEGACY_PATH_LOG_MESSAGE']
deprecator = ActiveSupport::Deprecation.new('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