From 9c32fef9bf2643007bcbbadfb3cd36e1dca01bd1 Mon Sep 17 00:00:00 2001 From: "Jonathan.Wage" Date: Fri, 21 Sep 2007 03:20:02 +0000 Subject: [PATCH] Changed foreign_alias to foreignAlias --- lib/Doctrine/Import/Schema.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Doctrine/Import/Schema.php b/lib/Doctrine/Import/Schema.php index f600e6c11..0147fc848 100644 --- a/lib/Doctrine/Import/Schema.php +++ b/lib/Doctrine/Import/Schema.php @@ -142,7 +142,7 @@ class Doctrine_Import_Schema $class = isset($relation['class']) ? $relation['class']:$alias; $relation['foreign'] = isset($relation['foreign'])?$relation['foreign']:'id'; - $relation['foreign_alias'] = isset($relation['alias'])?$relation['alias']:null; + $relation['foreignAlias'] = isset($relation['alias'])?$relation['alias']:null; $relation['alias'] = $alias; $relation['class'] = $class; @@ -164,7 +164,7 @@ class Doctrine_Import_Schema $newRelation['foreign'] = $relation['local']; $newRelation['local'] = $relation['foreign']; $newRelation['class'] = $className; - $newRelation['alias'] = isset($relation['foreign_alias'])?$relation['foreign_alias']:$className; + $newRelation['alias'] = isset($relation['foreignAlias'])?$relation['foreignAlias']:$className; $newRelation['type'] = $relation['type'] === Doctrine_Relation::ONE ? Doctrine_Relation::MANY:Doctrine_Relation::ONE; $this->relations[$relation['class']][$className] = $newRelation;