From 5c1908d82fcbf672cedfa6b87bcadee78018cf24 Mon Sep 17 00:00:00 2001 From: Matthias Pigulla Date: Tue, 9 May 2017 19:21:49 +0200 Subject: [PATCH] Remove dead code Hopefully this does not do anything...? --- lib/Doctrine/ORM/Tools/SchemaTool.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/Doctrine/ORM/Tools/SchemaTool.php b/lib/Doctrine/ORM/Tools/SchemaTool.php index 627f7b573..9acd85ffc 100644 --- a/lib/Doctrine/ORM/Tools/SchemaTool.php +++ b/lib/Doctrine/ORM/Tools/SchemaTool.php @@ -401,12 +401,6 @@ class SchemaTool $pkColumns[] = $this->quoteStrategy->getColumnName($mapping['fieldName'], $class, $this->platform); } } - - // For now, this is a hack required for single table inheritence, since this method is called - // twice by single table inheritence relations - if (!$table->hasIndex('primary')) { - //$table->setPrimaryKey($pkColumns); - } } /**