Fixed bad relate name conflicting with the IDF_Issue.

This commit is contained in:
Loic d'Anterroches 2008-11-23 14:34:45 +01:00
parent 7c1ad62cdb
commit 649e85e551

View File

@ -47,7 +47,7 @@ class IDF_Upload extends Pluf_Model
'model' => 'IDF_Project', 'model' => 'IDF_Project',
'blank' => false, 'blank' => false,
'verbose' => __('project'), 'verbose' => __('project'),
'relate_name' => 'issues', 'relate_name' => 'downloads',
), ),
'summary' => 'summary' =>
array( array(
@ -77,7 +77,7 @@ class IDF_Upload extends Pluf_Model
'model' => 'Pluf_User', 'model' => 'Pluf_User',
'blank' => false, 'blank' => false,
'verbose' => __('submitter'), 'verbose' => __('submitter'),
'relate_name' => 'submitted_issue', 'relate_name' => 'submitted_downloads',
), ),
'tags' => 'tags' =>
array( array(