summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-02 20:23:52 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-02 20:23:52 +0000
commit22a9742216ac93de2e7781417c38ad7ba88663a5 (patch)
tree0a76a7c5b35f538aea5e4faa8c96d1d266a1ac6c
parent49bd22255fbec772adf1282861bca5f7ed1c411e (diff)
downloadredmine-22a9742216ac93de2e7781417c38ad7ba88663a5.tar.gz
redmine-22a9742216ac93de2e7781417c38ad7ba88663a5.zip
Removed broken and unused method added in r5313.
git-svn-id: http://svn.redmine.org/redmine/trunk@13693 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/models/project.rb6
1 files changed, 0 insertions, 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