Zones are deleted when their parent Monitor is

This commit is contained in:
Kyle Johnson 2014-04-25 02:33:02 +00:00
parent 7ced617db2
commit b86c3f1e43
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ class Monitor extends AppModel {
'Zone' => array( 'Zone' => array(
'className' => 'Zone', 'className' => 'Zone',
'foreignKey' => 'MonitorId', 'foreignKey' => 'MonitorId',
'dependent' => false, 'dependent' => true,
'conditions' => '', 'conditions' => '',
'fields' => '', 'fields' => '',
'order' => '', 'order' => '',