From d999f4fc029332909aa82d7300a4d83806feabe9 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Sun, 5 Oct 2014 21:03:43 -0500 Subject: [PATCH] Minor - Remove unnecessary reference call in session_set_save_handler() --- main/inc/lib/chamilo_session.class.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/main/inc/lib/chamilo_session.class.php b/main/inc/lib/chamilo_session.class.php index c24df36b97..c804fb5b85 100755 --- a/main/inc/lib/chamilo_session.class.php +++ b/main/inc/lib/chamilo_session.class.php @@ -87,12 +87,12 @@ class ChamiloSession extends System\Session if ($_configuration['session_stored_in_db'] && function_exists('session_set_save_handler')) { $handler = new SessionHandlerDatabase(); @session_set_save_handler( - array(& $handler, 'open'), - array(& $handler, 'close'), - array(& $handler, 'read'), - array(& $handler, 'write'), - array(& $handler, 'destroy'), - array(& $handler, 'garbage') + array($handler, 'open'), + array($handler, 'close'), + array($handler, 'read'), + array($handler, 'write'), + array($handler, 'destroy'), + array($handler, 'garbage') ); }