diff --git a/lib/Doctrine/Connection.php b/lib/Doctrine/Connection.php index 5f3b2af21..cc0a56c4b 100644 --- a/lib/Doctrine/Connection.php +++ b/lib/Doctrine/Connection.php @@ -892,7 +892,7 @@ abstract class Doctrine_Connection extends Doctrine_Configurable implements Coun * @param string $name component name * @return object Doctrine_Table */ - public function getTable($name, $allowExport = true) + public function getTable($name) { if (isset($this->tables[$name])) { return $this->tables[$name]; @@ -905,8 +905,7 @@ abstract class Doctrine_Connection extends Doctrine_Configurable implements Coun $table = new Doctrine_Table($name, $this); } - $this->tables[$name] = $table; - + $this->tables[$name] = $table; return $table; }