1
0
mirror of synced 2025-01-18 22:41:43 +03:00

more experiments with the new testsuite.

This commit is contained in:
romanb 2008-02-11 22:33:47 +00:00
parent 81b394cd02
commit f1651489c2

View File

@ -106,8 +106,8 @@ class Doctrine_Mapper_Joined extends Doctrine_Mapper_Abstract
$record->state(Doctrine_Record::STATE_TDIRTY);
foreach ($table->getOption('joinedParents') as $parent) {
$parentTable = $conn->getTable($parent);
foreach ($table->getParentClasses() as $parent) {
$parentTable = $conn->getClassMetadata($parent);
$conn->delete($parentTable, $record->identifier());
}