From 22a9742216ac93de2e7781417c38ad7ba88663a5 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 2 Dec 2014 20:23:52 +0000 Subject: Removed broken and unused method added in r5313. git-svn-id: http://svn.redmine.org/redmine/trunk@13693 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/project.rb | 6 ------ 1 file changed, 6 deletions(-) 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 -- cgit v1.2.3