From 5d665b59a18e24539bb186c9edb0458455bd49af Mon Sep 17 00:00:00 2001 From: "Fabio B. Silva" Date: Fri, 1 Jun 2012 15:57:41 -0300 Subject: [PATCH] remove getQuotedIdentifierColumnNames --- .gitignore | 5 +++ .../ORM/Mapping/ClassMetadataInfo.php | 36 ------------------- 2 files changed, 5 insertions(+), 36 deletions(-) diff --git a/.gitignore b/.gitignore index a91841777..13f4debc8 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,8 @@ lib/Doctrine/DBAL /.settings/ .buildpath .project +/.AppleDouble/ +/tests/.AppleDouble/ +/bin/.AppleDouble/ +/lib/.AppleDouble/ +/tools/.AppleDouble/ \ No newline at end of file diff --git a/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php b/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php index 8434e49b2..b086c1785 100644 --- a/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php +++ b/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php @@ -2643,42 +2643,6 @@ class ClassMetadataInfo implements ClassMetadata return $this->name; } - /** - * Gets the (possibly quoted) identifier column names for safe use in an SQL statement. - * - * @param AbstractPlatform $platform - * @return array - */ - public function getQuotedIdentifierColumnNames($platform) - { - $quotedColumnNames = array(); - - foreach ($this->identifier as $idProperty) { - if (isset($this->fieldMappings[$idProperty])) { - $quotedColumnNames[] = isset($this->fieldMappings[$idProperty]['quoted']) - ? $platform->quoteIdentifier($this->fieldMappings[$idProperty]['columnName']) - : $this->fieldMappings[$idProperty]['columnName']; - - continue; - } - - // Association defined as Id field - $joinColumns = $this->associationMappings[$idProperty]['joinColumns']; - $assocQuotedColumnNames = array_map( - function ($joinColumn) { - return isset($joinColumn['quoted']) - ? $platform->quoteIdentifier($joinColumn['name']) - : $joinColumn['name']; - }, - $joinColumns - ); - - $quotedColumnNames = array_merge($quotedColumnNames, $assocQuotedColumnNames); - } - - return $quotedColumnNames; - } - /** * Gets the (possibly quoted) column name of a mapped field for safe use * in an SQL statement.