Fixing [Only variable references should be returned by reference]

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4778 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2007-04-05 04:47:01 +00:00
parent 08526db3f4
commit 1c6c32981e
2 changed files with 25 additions and 24 deletions

View file

@ -198,7 +198,8 @@ class ConnectionManager extends Object {
$_this =& ConnectionManager::getInstance();
if (empty($name) || empty($config) || array_key_exists($name, $_this->_connectionsEnum)) {
return null;
$null = null;
return $null;
}
$_this->config->{$name} = $config;