1
0
mirror of synced 2024-12-13 22:56:04 +03:00

DDC-1192 - Fix notice in XmlDriver, removed unnecessary code.

This commit is contained in:
Benjamin Eberlei 2011-06-05 14:49:54 +02:00
parent d3ab9b51fa
commit d17d0f5452

View File

@ -356,9 +356,6 @@ class XmlDriver extends AbstractFileDriver
$joinColumns[] = $this->_getJoinColumnMapping($manyToOneElement->{'join-column'});
} else if (isset($manyToOneElement->{'join-columns'})) {
foreach ($manyToOneElement->{'join-columns'}->{'join-column'} as $joinColumnElement) {
if (!isset($joinColumnElement['name'])) {
$joinColumnElement['name'] = $name;
}
$joinColumns[] = $this->_getJoinColumnMapping($joinColumnElement);
}
}