Commit f1651489 authored by romanb's avatar romanb

more experiments with the new testsuite.

parent 81b394cd
......@@ -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());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment