summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2019-11-10 07:54:24 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2019-11-10 07:54:24 +0000
commite23c480f22f48c51e0530a5a1fb75a509733699f (patch)
treeab24d474c1e0754c1c97957fc9b4f12eb1ee6929
parent1c533c948b9e749099495ad79e80faa3f4b65aaa (diff)
downloadredmine-e23c480f22f48c51e0530a5a1fb75a509733699f.tar.gz
redmine-e23c480f22f48c51e0530a5a1fb75a509733699f.zip
Removed invalid association IssueCustomField#issue_custom_values (#32431).
Patch by Akira Matsuda. git-svn-id: http://svn.redmine.org/redmine/trunk@19061 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/models/issue_custom_field.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/issue_custom_field.rb b/app/models/issue_custom_field.rb
index 14d29a9e6..26ed2b292 100644
--- a/app/models/issue_custom_field.rb
+++ b/app/models/issue_custom_field.rb
@@ -20,7 +20,6 @@
class IssueCustomField < CustomField
has_and_belongs_to_many :projects, :join_table => "#{table_name_prefix}custom_fields_projects#{table_name_suffix}", :foreign_key => "custom_field_id", :autosave => true
has_and_belongs_to_many :trackers, :join_table => "#{table_name_prefix}custom_fields_trackers#{table_name_suffix}", :foreign_key => "custom_field_id", :autosave => true
- has_many :issues, :through => :issue_custom_values
safe_attributes 'project_ids',
'tracker_ids'