mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-07 12:36:25 +00:00
Fixing php4 reference issues in CakeSchema.
This commit is contained in:
parent
f2cc41bb3a
commit
af4e9ba76e
1 changed files with 3 additions and 3 deletions
|
@ -161,7 +161,7 @@ class CakeSchema extends Object {
|
||||||
* @return array Set of name and tables
|
* @return array Set of name and tables
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
function load($options = array()) {
|
function &load($options = array()) {
|
||||||
if (is_string($options)) {
|
if (is_string($options)) {
|
||||||
$options = array('path' => $options);
|
$options = array('path' => $options);
|
||||||
}
|
}
|
||||||
|
@ -183,8 +183,8 @@ class CakeSchema extends Object {
|
||||||
$Schema =& new $class($options);
|
$Schema =& new $class($options);
|
||||||
return $Schema;
|
return $Schema;
|
||||||
}
|
}
|
||||||
|
$false = false;
|
||||||
return false;
|
return $false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue