removed deprecated attribute from getTable()
This commit is contained in:
parent
a8b38b58ef
commit
d6ef2b3f4e
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user