mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +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
|
||||
* @access public
|
||||
*/
|
||||
function load($options = array()) {
|
||||
function &load($options = array()) {
|
||||
if (is_string($options)) {
|
||||
$options = array('path' => $options);
|
||||
}
|
||||
|
@ -183,8 +183,8 @@ class CakeSchema extends Object {
|
|||
$Schema =& new $class($options);
|
||||
return $Schema;
|
||||
}
|
||||
|
||||
return false;
|
||||
$false = false;
|
||||
return $false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue