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

Remove useless code from copied row_cell

Oliver Günther9c749362bfed
diff --git a/modules/ifc_models/app/cells/ifc_models/models/row_cell.rb b/modules/ifc_models/app/cells/ifc_models/models/row_cell.rb
index 96aa3f23e3f..87e6114db95 100644
--- a/modules/ifc_models/app/cells/ifc_models/models/row_cell.rb
+++ b/modules/ifc_models/app/cells/ifc_models/models/row_cell.rb
@@ -51,12 +51,6 @@ module IFCModels
class: 'icon icon-edit',
accesskey: accesskey(:edit)
end
-
- def deletion_blocked?
- return false if table.admin_table?
-
- device.default && table.enforced?
- end
end
end
end