Fixing $_this reference in ConnectionManager (Ticket #2254)

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4619 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
nate 2007-03-16 13:26:09 +00:00
parent a0897be3fb
commit 00c3711dd4

View file

@ -182,9 +182,9 @@ class ConnectionManager extends Object {
foreach($connections as $name => $config) {
$_this->_connectionsEnum[$name] = $_this->__getDriver($config);
}
return $this->_connectionsEnum;
return $_this->_connectionsEnum;
} else {
$this->cakeError('missingConnection', array(array('className' => 'ConnectionManager')));
$_this->cakeError('missingConnection', array(array('className' => 'ConnectionManager')));
}
}
/**