From 07492bda9db79f35b832a263bcbeecdb870effe2 Mon Sep 17 00:00:00 2001 From: "Fabio B. Silva" Date: Wed, 25 Jul 2012 22:28:45 -0300 Subject: [PATCH] fix JoinedSubclassPersister#delete when supports foreign key --- lib/Doctrine/ORM/Persisters/JoinedSubclassPersister.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Doctrine/ORM/Persisters/JoinedSubclassPersister.php b/lib/Doctrine/ORM/Persisters/JoinedSubclassPersister.php index 5f2bd11c6..58aa7df17 100644 --- a/lib/Doctrine/ORM/Persisters/JoinedSubclassPersister.php +++ b/lib/Doctrine/ORM/Persisters/JoinedSubclassPersister.php @@ -269,7 +269,6 @@ class JoinedSubclassPersister extends AbstractEntityInheritancePersister $rootTable = $this->quoteStrategy->getTableName($rootClass, $this->platform); $this->conn->delete($rootTable, $id); - $this->conn->delete($tableName, $identifier); return; }