Fixing php4 reference issues in CakeSchema.

This commit is contained in:
Mark Story 2010-01-14 22:18:26 -05:00
parent f2cc41bb3a
commit af4e9ba76e

View file

@ -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;
}
/**