From af4e9ba76e747678ece720a1530e3ed7d5123aab Mon Sep 17 00:00:00 2001 From: Mark Story Date: Thu, 14 Jan 2010 22:18:26 -0500 Subject: [PATCH] Fixing php4 reference issues in CakeSchema. --- cake/libs/model/cake_schema.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cake/libs/model/cake_schema.php b/cake/libs/model/cake_schema.php index 42c2cb482..42d865703 100644 --- a/cake/libs/model/cake_schema.php +++ b/cake/libs/model/cake_schema.php @@ -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; } /**