Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix deprecation warning

Dombi Attila7b5be94db3ca
diff --git a/lib/open_project/deprecation.rb b/lib/open_project/deprecation.rb
index 8702bc8c8a9..9e79c1f9acb 100644
--- a/lib/open_project/deprecation.rb
+++ b/lib/open_project/deprecation.rb
@@ -33,7 +33,7 @@ module OpenProject::Deprecation
.new('in a future major upgrade', 'OpenProject')
.tap do |instance|
# Reuse the silenced state of the default deprecator
- instance.silenced = ActiveSupport::Deprecation.silenced
+ instance.silenced = Rails.application.deprecators.silenced
end
end