Removed hasmany relationship from Control - it should not be mapped into any other controller

This commit is contained in:
Pliable Pixels 2015-06-09 12:22:28 +00:00
parent 30aefe1097
commit 812efdb14c
1 changed files with 0 additions and 36 deletions

View File

@ -51,40 +51,4 @@ class Control extends AppModel {
), ),
); );
//The Associations below have been created with all possible keys, those that are not needed can be removed
/**
* hasMany associations
*
* @var array
*/
public $hasMany = array(
'Event' => array(
'className' => 'Event',
'foreignKey' => 'ControlId',
'dependent' => false,
'conditions' => '',
'fields' => '',
'order' => '',
'limit' => '',
'offset' => '',
'exclusive' => '',
'finderQuery' => '',
'counterQuery' => ''
),
'Zone' => array(
'className' => 'Zone',
'foreignKey' => 'ControlId',
'dependent' => true,
'conditions' => '',
'fields' => '',
'order' => '',
'limit' => '',
'offset' => '',
'exclusive' => '',
'finderQuery' => '',
'counterQuery' => ''
)
);
} }