diff --git a/app/models/project.rb b/app/models/project.rb index 7df728b3c..2bd69d846 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -550,12 +550,6 @@ class Project < ActiveRecord::Base " WHERE cfp.project_id = ?)", true, id) end - # Returns an array of all custom fields enabled for project time entries - # (explictly associated custom fields and custom fields enabled for all projects) - def all_time_entry_custom_fields - @all_time_entry_custom_fields ||= (TimeEntryCustomField.for_all + time_entry_custom_fields).uniq.sort - end - def project self end