From d09b733cc369bb3f76056b33ebe6666af6f4eccf Mon Sep 17 00:00:00 2001
From: Hugo Hamon <hugo.hamon@sensio.com>
Date: Thu, 12 Jan 2012 19:39:37 +0100
Subject: [PATCH] [Persisters] removed unused local variable in
 ManyToManyPersister class.

---
 lib/Doctrine/ORM/Persisters/ManyToManyPersister.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Doctrine/ORM/Persisters/ManyToManyPersister.php b/lib/Doctrine/ORM/Persisters/ManyToManyPersister.php
index daef03774..c7dc08dff 100644
--- a/lib/Doctrine/ORM/Persisters/ManyToManyPersister.php
+++ b/lib/Doctrine/ORM/Persisters/ManyToManyPersister.php
@@ -180,7 +180,7 @@ class ManyToManyPersister extends AbstractCollectionPersister
         // Composite identifier
         $sourceClass = $this->_em->getClassMetadata(get_class($mapping->getOwner()));
 
-        foreach ($mapping['relationToSourceKeyColumns'] as $relColumn => $srcColumn) {
+        foreach ($mapping['relationToSourceKeyColumns'] as $srcColumn) {
             $params[] = $identifier[$sourceClass->fieldNames[$srcColumn]];
         }