diff options
author | Stan Hu <stanhu@gmail.com> | 2018-05-16 13:22:04 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-05-16 13:22:04 -0700 |
commit | e6011d868a142344118be8fd9bd3cd957d60d593 (patch) | |
tree | 1bf491bdf994e74b9a9d7cfbd670c51838391584 | |
parent | 357aaafb73a6d8c4e0185f193d67a06ed1b79832 (diff) | |
download | gitlab-ce-sh-remove-deprecation-warnings-from-com.tar.gz |
Downgrade Gitaly deprecation warnings to development modesh-remove-deprecation-warnings-from-com
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/46158, https://gitlab.com/gitlab-com/infrastructure/issues/4228
-rw-r--r-- | config/initializers/deprecations.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/deprecations.rb b/config/initializers/deprecations.rb index c8d7f742bb1..07031d90ccb 100644 --- a/config/initializers/deprecations.rb +++ b/config/initializers/deprecations.rb @@ -1,4 +1,4 @@ -if Gitlab.dev_env_or_com? +if Rails.env.development? deprecator = ActiveSupport::Deprecation.new('11.0', 'GitLab') deprecator.behavior = -> (message, callstack) { |