From c1a920e8e06e2754d5bbbf87be8bd93ea8501d2b Mon Sep 17 00:00:00 2001 From: Ian Berry Date: Mon, 24 Mar 2003 04:29:38 +0000 Subject: [PATCH] make use of the new kill_session_var() function git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@775 860744bd-22fc-0310-8c96-e9fe5004b5ca --- install/index.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/install/index.php b/install/index.php index 73e117b772..986c871a1c 100644 --- a/install/index.php +++ b/install/index.php @@ -149,11 +149,7 @@ if ($_REQUEST["step"] == "4") { } } - /* register_global = off: reset local settings cache so the user sees the new settings */ - session_register("sess_config_array"); - - /* register_global = on: reset local settings cache so the user sees the new settings */ - unset($_SESSION["sess_config_array"]); + kill_session_var("sess_config_array"); /* it's always a good idea to re-populate the poller cache to make sure everything is refreshed and up-to-date */