Removed some redundant code
This commit is contained in:
parent
82432246b9
commit
2a3b6d23b6
@ -1079,9 +1079,7 @@ class Doctrine_Hydrate extends Doctrine_Locator_Injectable implements Serializab
|
|||||||
$last = strtolower(array_pop($e));
|
$last = strtolower(array_pop($e));
|
||||||
$cache[$key]['alias'] = $this->_tableAliases[strtolower(implode('__', $e))];
|
$cache[$key]['alias'] = $this->_tableAliases[strtolower(implode('__', $e))];
|
||||||
$fieldName = $this->_aliasMap[$cache[$key]['alias']]['table']->getFieldName($last);
|
$fieldName = $this->_aliasMap[$cache[$key]['alias']]['table']->getFieldName($last);
|
||||||
//echo "hydrate:" . $fieldName . "<br /><br />";
|
|
||||||
$cache[$key]['fieldName'] = $fieldName;
|
$cache[$key]['fieldName'] = $fieldName;
|
||||||
$cache[$key]['columnName'] = $last;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$map = $this->_aliasMap[$cache[$key]['alias']];
|
$map = $this->_aliasMap[$cache[$key]['alias']];
|
||||||
|
Loading…
Reference in New Issue
Block a user