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

Temporarily disable deprecation noise

Klaus Zanders057d32f716fb
diff --git a/modules/costs/app/models/entry/deprecated_association.rb b/modules/costs/app/models/entry/deprecated_association.rb
index ba9e2c4e4f4..a63a34058a6 100644
--- a/modules/costs/app/models/entry/deprecated_association.rb
+++ b/modules/costs/app/models/entry/deprecated_association.rb
@@ -36,7 +36,7 @@ module Entry::DeprecatedAssociation
end
def work_package
- OpenProject::Deprecation.replaced(:work_package, :entity, caller_locations)
+ # OpenProject::Deprecation.replaced(:work_package, :entity, caller_locations)
if entity_type == "WorkPackage"
entity
@@ -44,7 +44,7 @@ module Entry::DeprecatedAssociation
end
def work_package_id
- OpenProject::Deprecation.replaced(:work_package_id, :entity_id, caller_locations)
+ # OpenProject::Deprecation.replaced(:work_package_id, :entity_id, caller_locations)
if entity_type == "WorkPackage"
entity_id
@@ -52,12 +52,12 @@ module Entry::DeprecatedAssociation
end
def work_package=(value)
- OpenProject::Deprecation.replaced(:work_package=, :entity=, caller_locations)
+ # OpenProject::Deprecation.replaced(:work_package=, :entity=, caller_locations)
self.entity = value
end
def work_package_id=(value)
- OpenProject::Deprecation.replaced(:work_package_id=, :entity_id=, caller_locations)
+ # OpenProject::Deprecation.replaced(:work_package_id=, :entity_id=, caller_locations)
self.entity_type = "WorkPackage"
self.entity_id = value