transaction deletes no longer unset record identifiers
This commit is contained in:
parent
58bfed2bec
commit
7d10dbe190
@ -170,7 +170,6 @@ class Doctrine_Transaction extends Doctrine_Connection_Module
|
|||||||
} else {
|
} else {
|
||||||
foreach ($deletes as $k => $record) {
|
foreach ($deletes as $k => $record) {
|
||||||
$ids[] = $record->getIncremented();
|
$ids[] = $record->getIncremented();
|
||||||
$record->assignIdentifier(false);
|
|
||||||
}
|
}
|
||||||
if ($record instanceof Doctrine_Record) {
|
if ($record instanceof Doctrine_Record) {
|
||||||
$params = substr(str_repeat('?, ', count($ids)),0,-2);
|
$params = substr(str_repeat('?, ', count($ids)),0,-2);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user