From f1651489c22b5a095d4e2017f7d371e0cd8a1cba Mon Sep 17 00:00:00 2001 From: romanb Date: Mon, 11 Feb 2008 22:33:47 +0000 Subject: [PATCH] more experiments with the new testsuite. --- lib/Doctrine/Mapper/Joined.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Doctrine/Mapper/Joined.php b/lib/Doctrine/Mapper/Joined.php index 9cde14467..562833f32 100644 --- a/lib/Doctrine/Mapper/Joined.php +++ b/lib/Doctrine/Mapper/Joined.php @@ -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()); }