]> source.dussan.org Git - redmine.git/commitdiff
Removed broken and unused method added in r5313.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 2 Dec 2014 20:23:52 +0000 (20:23 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 2 Dec 2014 20:23:52 +0000 (20:23 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@13693 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/project.rb

index 7df728b3c48e57ef7f3887314811a401683e6ff2..2bd69d846ded39fdb7728e6d9c6084a56a5188ca 100644 (file)
@@ -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