From d6ef2b3f4e00c888d8752ab73876a2c9cd432bb9 Mon Sep 17 00:00:00 2001 From: zYne Date: Mon, 15 Oct 2007 20:56:23 +0000 Subject: [PATCH] removed deprecated attribute from getTable() --- lib/Doctrine/Connection.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; }