mirror of
https://github.com/Cacti/cacti.git
synced 2026-12-05 22:54:19 +09:00
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:
1 parent
120d75ff44
commit
c1a920e8e0
1 file changed
+1
-5
+1
-5
@@ -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 */
|
||||
|
||||
Reference in new issue
Block a user