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
This commit is contained in:
Ian Berry committed 2003-03-24 04:29:38 +00:00
1 parent 120d75ff44
commit c1a920e8e0
1 file changed
+1 -5
+1 -5
View File
@@ -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 */