Commit 2a3b6d23 authored by romanb's avatar romanb

Removed some redundant code

parent 82432246
......@@ -1079,9 +1079,7 @@ class Doctrine_Hydrate extends Doctrine_Locator_Injectable implements Serializab
$last = strtolower(array_pop($e));
$cache[$key]['alias'] = $this->_tableAliases[strtolower(implode('__', $e))];
$fieldName = $this->_aliasMap[$cache[$key]['alias']]['table']->getFieldName($last);
//echo "hydrate:" . $fieldName . "<br /><br />";
$cache[$key]['fieldName'] = $fieldName;
$cache[$key]['columnName'] = $last;
}
$map = $this->_aliasMap[$cache[$key]['alias']];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment