mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
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:
parent
a0897be3fb
commit
00c3711dd4
1 changed files with 2 additions and 2 deletions
|
@ -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')));
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue