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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Reuse the deprecation state for our own deprecator
Oliver Günther8942c488f0b7
diff --git a/lib/open_project/deprecation.rb b/lib/open_project/deprecation.rbindex 16a8447ee9e..8fc81186d41 100644--- a/lib/open_project/deprecation.rb+++ b/lib/open_project/deprecation.rb@@ -29,7 +29,14 @@module OpenProject::Deprecationclass << selfdef deprecator- @@deprecator||= ActiveSupport::Deprecation.new('in a future major upgrade', 'OpenProject')+ @@deprecator ||= ActiveSupport::Deprecation+ .new('in a future major upgrade', 'OpenProject')+ .tap do |instance|++ # Reuse the silenced state of the default deprecator+ instance.silenced = ActiveSupport::Deprecation.silenced++ endend##