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
[#66093] Remove superfluous check
Tobias Dillmann986fcd12f194
diff --git a/app/models/calculated_values/error_handler.rb b/app/models/calculated_values/error_handler.rbindex 12e1366bf96..f22fa74d580 100644--- a/app/models/calculated_values/error_handler.rb+++ b/app/models/calculated_values/error_handler.rb@@ -62,8 +62,6 @@ module CalculatedValuesenddef handle_errors- return unless should_create_errors?-error_contexts = build_error_contextscreate_error_records!(error_contexts)end@@ -72,10 +70,6 @@ module CalculatedValuesattr_reader :customized, :calculation_errors, :calculation_values, :given_values, :calculated_fields- def should_create_errors?- customized.is_a?(Project)- end-def build_error_contextscalculation_errors.filter_map do |cf_id, error|build_error_context(cf_id, error)