]> source.dussan.org Git - redmine.git/commitdiff
Removed invalid association IssueCustomField#issue_custom_values (#32431).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 10 Nov 2019 07:54:24 +0000 (07:54 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 10 Nov 2019 07:54:24 +0000 (07:54 +0000)
Patch by Akira Matsuda.

git-svn-id: http://svn.redmine.org/redmine/trunk@19061 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/issue_custom_field.rb

index 14d29a9e60c1d86fd02d4e9ff34f23021b15563b..26ed2b292a71a176c90228b83c426090459540ac 100644 (file)
@@ -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'