mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-07 20:12:42 +00:00
Removing =& operators for construction of objects.
This commit is contained in:
parent
8c2f9e1d2b
commit
18bb5f6b8b
55 changed files with 133 additions and 133 deletions
|
@ -627,7 +627,7 @@ class Controller extends Object {
|
|||
|
||||
if ($this->persistModel === true) {
|
||||
$this->_persist($modelClass, true, $this->{$modelClass});
|
||||
$registry =& ClassRegistry::getInstance();
|
||||
$registry = ClassRegistry::getInstance();
|
||||
$this->_persist($modelClass . 'registry', true, $registry->__objects, 'registry');
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue