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

ulfertsbd171ec60b45
diff --git a/lib/api/v3/work_packages/eager_loading/custom_value.rb b/lib/api/v3/work_packages/eager_loading/custom_value.rb
index 3584324839c..5fbd55b980f 100644
--- a/lib/api/v3/work_packages/eager_loading/custom_value.rb
+++ b/lib/api/v3/work_packages/eager_loading/custom_value.rb
@@ -31,8 +31,6 @@ module API
module WorkPackages
module EagerLoading
class CustomValue < Base
- attr_accessor :query
-
def initialize(work_packages, **options)
super
@@ -130,10 +128,6 @@ module API
@loaded_custom_fields_by_id[id]
end
-
- def timestamped?
- @timestamped ||= query.try(:timestamps).any?(&:historic?)
- end
end
end
end