diff --git a/lib/open_project/backlogs/patches/my_controller_patch.rb b/lib/open_project/backlogs/patches/my_controller_patch.rb index abddc19f10..1c1111c0c9 100644 --- a/lib/open_project/backlogs/patches/my_controller_patch.rb +++ b/lib/open_project/backlogs/patches/my_controller_patch.rb @@ -38,8 +38,6 @@ require_dependency 'my_controller' module OpenProject::Backlogs::Patches::MyControllerPatch def self.included(base) base.class_eval do - unloadable - include InstanceMethods after_filter :save_backlogs_preferences, :only => [:account] diff --git a/lib/open_project/backlogs/patches/project_patch.rb b/lib/open_project/backlogs/patches/project_patch.rb index 64a26ecfe1..b1bc6d5526 100644 --- a/lib/open_project/backlogs/patches/project_patch.rb +++ b/lib/open_project/backlogs/patches/project_patch.rb @@ -38,8 +38,6 @@ require_dependency 'project' module OpenProject::Backlogs::Patches::ProjectPatch def self.included(base) base.class_eval do - unloadable - has_and_belongs_to_many :done_statuses, :join_table => :done_statuses_for_project, :class_name => "Status" include InstanceMethods diff --git a/lib/open_project/backlogs/patches/query_patch.rb b/lib/open_project/backlogs/patches/query_patch.rb index 7aa250f800..66ccd2eff8 100644 --- a/lib/open_project/backlogs/patches/query_patch.rb +++ b/lib/open_project/backlogs/patches/query_patch.rb @@ -38,8 +38,6 @@ require_dependency 'query' module OpenProject::Backlogs::Patches::QueryPatch def self.included(base) base.class_eval do - unloadable - include InstanceMethods add_available_column(QueryColumn.new(:story_points, :sortable => "#{WorkPackage.table_name}.story_points")) diff --git a/lib/open_project/backlogs/patches/status_patch.rb b/lib/open_project/backlogs/patches/status_patch.rb index 56be7155c2..d845c7b9ec 100644 --- a/lib/open_project/backlogs/patches/status_patch.rb +++ b/lib/open_project/backlogs/patches/status_patch.rb @@ -38,8 +38,6 @@ require_dependency 'status' module OpenProject::Backlogs::Patches::StatusPatch def self.included(base) base.class_eval do - unloadable - include InstanceMethods end end diff --git a/lib/open_project/backlogs/patches/type_patch.rb b/lib/open_project/backlogs/patches/type_patch.rb index 78076fbaaf..0c8d26b835 100644 --- a/lib/open_project/backlogs/patches/type_patch.rb +++ b/lib/open_project/backlogs/patches/type_patch.rb @@ -38,8 +38,6 @@ require_dependency 'type' module OpenProject::Backlogs::Patches::TypePatch def self.included(base) base.class_eval do - unloadable - include InstanceMethods extend ClassMethods end diff --git a/lib/open_project/backlogs/patches/user_patch.rb b/lib/open_project/backlogs/patches/user_patch.rb index 562ca30d5e..afbf65d1ec 100644 --- a/lib/open_project/backlogs/patches/user_patch.rb +++ b/lib/open_project/backlogs/patches/user_patch.rb @@ -38,8 +38,6 @@ require_dependency 'user' module OpenProject::Backlogs::Patches::UserPatch def self.included(base) base.class_eval do - unloadable - include InstanceMethods end end diff --git a/lib/open_project/backlogs/patches/version_patch.rb b/lib/open_project/backlogs/patches/version_patch.rb index c4c5a19197..c10c0196b2 100644 --- a/lib/open_project/backlogs/patches/version_patch.rb +++ b/lib/open_project/backlogs/patches/version_patch.rb @@ -38,8 +38,6 @@ require_dependency 'version' module OpenProject::Backlogs::Patches::VersionPatch def self.included(base) base.class_eval do - unloadable - has_many :version_settings, :dependent => :destroy accepts_nested_attributes_for :version_settings diff --git a/lib/open_project/backlogs/patches/versions_controller_patch.rb b/lib/open_project/backlogs/patches/versions_controller_patch.rb index 56cad67561..073bd52e69 100644 --- a/lib/open_project/backlogs/patches/versions_controller_patch.rb +++ b/lib/open_project/backlogs/patches/versions_controller_patch.rb @@ -38,8 +38,6 @@ require_dependency 'versions_controller' module OpenProject::Backlogs::Patches::VersionsControllerPatch def self.included(base) base.class_eval do - unloadable - include VersionSettingsHelper helper :version_settings diff --git a/lib/open_project/backlogs/patches/work_package_patch.rb b/lib/open_project/backlogs/patches/work_package_patch.rb index ef7c626802..3c2fea63aa 100644 --- a/lib/open_project/backlogs/patches/work_package_patch.rb +++ b/lib/open_project/backlogs/patches/work_package_patch.rb @@ -38,8 +38,6 @@ require_dependency 'work_package' module OpenProject::Backlogs::Patches::WorkPackagePatch def self.included(base) base.class_eval do - unloadable - include InstanceMethods extend ClassMethods diff --git a/lib/open_project/backlogs/patches/work_package_schema_patch.rb b/lib/open_project/backlogs/patches/work_package_schema_patch.rb index 886df8f904..b93e1afaeb 100644 --- a/lib/open_project/backlogs/patches/work_package_schema_patch.rb +++ b/lib/open_project/backlogs/patches/work_package_schema_patch.rb @@ -38,8 +38,6 @@ require_dependency 'api/v3/work_packages/schema/work_package_schema' module OpenProject::Backlogs::Patches::WorkPackageSchemaPatch def self.included(base) base.class_eval do - unloadable - include InstanceMethods extend ClassMethods end diff --git a/lib/open_project/backlogs/patches/work_packages_helper_patch.rb b/lib/open_project/backlogs/patches/work_packages_helper_patch.rb index dedc59430c..dc8e87b5cf 100644 --- a/lib/open_project/backlogs/patches/work_packages_helper_patch.rb +++ b/lib/open_project/backlogs/patches/work_packages_helper_patch.rb @@ -36,8 +36,6 @@ module OpenProject::Backlogs::Patches::WorkPackagesHelperPatch def self.included(base) base.class_eval do - unloadable - def work_package_form_all_middle_attributes_with_backlogs(form, work_package, locals = {}) attributes = work_package_form_all_middle_attributes_without_backlogs(form, work_package, locals)