1
0
mirror of synced 2025-03-21 15:33:51 +03:00

removed deprecated attribute from getTable()

This commit is contained in:
zYne 2007-10-15 20:56:23 +00:00
parent a8b38b58ef
commit d6ef2b3f4e

View File

@ -892,7 +892,7 @@ abstract class Doctrine_Connection extends Doctrine_Configurable implements Coun
* @param string $name component name * @param string $name component name
* @return object Doctrine_Table * @return object Doctrine_Table
*/ */
public function getTable($name, $allowExport = true) public function getTable($name)
{ {
if (isset($this->tables[$name])) { if (isset($this->tables[$name])) {
return $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); $table = new Doctrine_Table($name, $this);
} }
$this->tables[$name] = $table; $this->tables[$name] = $table;
return $table; return $table;
} }