mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Remove unnecessary reference operator from DB and Cache classes
This commit is contained in:
parent
4ea9ab02ec
commit
6876eac464
2 changed files with 2 additions and 2 deletions
2
classes/cache/CacheHandler.class.php
vendored
2
classes/cache/CacheHandler.class.php
vendored
|
|
@ -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])
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue