Zones are deleted when their parent Monitor is
This commit is contained in:
parent
7ced617db2
commit
b86c3f1e43
|
@ -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' => '',
|
||||||
|
|
Loading…
Reference in New Issue