Remove unnecessary reference operator from DB and Cache classes

This commit is contained in:
Kijin Sung 2016-02-05 13:44:19 +09:00
parent 4ea9ab02ec
commit 6876eac464
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ class CacheHandler extends Handler
* @param boolean $always_use_file If set true, use a file cache always
* @return CacheHandler
*/
function &getInstance($target = 'object', $info = null, $always_use_file = false)
function getInstance($target = 'object', $info = null, $always_use_file = false)
{
$cache_handler_key = $target . ($always_use_file ? '_file' : '');
if(!$GLOBALS['__XE_CACHE_HANDLER__'][$cache_handler_key])

View file

@ -139,7 +139,7 @@ class DB
* @param string $db_type type of db
* @return DB return DB object instance
*/
function &getInstance($db_type = NULL)
function getInstance($db_type = NULL)
{
if(!$db_type)
{