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 dead code

Christophe Bliardc8f910b517d3
diff --git a/app/seeders/demo_data/work_package_seeder.rb b/app/seeders/demo_data/work_package_seeder.rb
index 072b52d20b8..930b091a736 100644
--- a/app/seeders/demo_data/work_package_seeder.rb
+++ b/app/seeders/demo_data/work_package_seeder.rb
@@ -67,7 +67,6 @@ module DemoData
wp_attr = base_work_package_attributes attributes
set_version! wp_attr, attributes
- set_accountable! wp_attr, attributes
set_time_tracking_attributes! wp_attr, attributes
set_backlogs_attributes! wp_attr, attributes
@@ -149,12 +148,6 @@ module DemoData
end
end
- def set_accountable!(wp_attr, attributes)
- if attributes['accountable']
- wp_attr[:responsible] = find_principal(attributes['accountable'])
- end
- end
-
def set_time_tracking_attributes!(wp_attr, attributes)
wp_attr.merge!(time_tracking_attributes(attributes))
end
diff --git a/config/locales/en.seeders.standard.yml.example b/config/locales/en.seeders.standard.yml.example
index 386f9d5966a..c5068a75bbc 100644
--- a/config/locales/en.seeders.standard.yml.example
+++ b/config/locales/en.seeders.standard.yml.example
@@ -121,7 +121,6 @@ en:
type: :default_type_phase
start: 7
duration: 17
- accountable: 'Project Admins'
relations:
- to: Project planning
type: follows