mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Making code PHP4 friendly again
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7460 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
fb15d71284
commit
0b5fbe04f6
1 changed files with 4 additions and 4 deletions
|
@ -156,7 +156,7 @@ class CakeTestCase extends UnitTestCase {
|
||||||
if (!isset($this->db)) {
|
if (!isset($this->db)) {
|
||||||
$this->_initDb();
|
$this->_initDb();
|
||||||
}
|
}
|
||||||
$classRegistry = ClassRegistry::getInstance();
|
$classRegistry =& ClassRegistry::getInstance();
|
||||||
|
|
||||||
if ($controller->uses === false) {
|
if ($controller->uses === false) {
|
||||||
$list = array($controller->modelClass);
|
$list = array($controller->modelClass);
|
||||||
|
|
Loading…
Reference in a new issue