@@ 2647-2651 (lines=5) @@ | ||
2644 | 'conditions' => $conditions, 'fields' => $Model->primaryKey |
|
2645 | )); |
|
2646 | ||
2647 | if (!empty($records)) { |
|
2648 | foreach ($records as $record) { |
|
2649 | $Model->delete($record[$Model->alias][$Model->primaryKey]); |
|
2650 | } |
|
2651 | } |
|
2652 | } |
|
2653 | } |
|
2654 | ||
@@ 2677-2681 (lines=5) @@ | ||
2674 | 'callbacks' => false |
|
2675 | )); |
|
2676 | ||
2677 | if (!empty($records)) { |
|
2678 | foreach ($records as $record) { |
|
2679 | $Model->delete($record[$Model->alias][$Model->primaryKey]); |
|
2680 | } |
|
2681 | } |
|
2682 | } |
|
2683 | } |
|
2684 |