From 68f255b322856117e6df75af6bf881b59d3390ef Mon Sep 17 00:00:00 2001 From: Floris Luiten Date: Wed, 3 Jul 2024 14:52:05 +0200 Subject: [PATCH] Remove unneeded var assignment The $id variable is assigned, but never used in the script. This may confuse readers, so remove the assignment. Signed-off-by: Floris Luiten --- examples/signon.php | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/signon.php b/examples/signon.php index 314c3345a4..3d3dd0b0fa 100644 --- a/examples/signon.php +++ b/examples/signon.php @@ -32,7 +32,6 @@ if (isset($_POST['user'])) { /* Update another field of server configuration */ $_SESSION['PMA_single_signon_cfgupdate'] = ['verbose' => 'Signon test']; $_SESSION['PMA_single_signon_HMAC_secret'] = hash('sha1', uniqid(strval(random_int(0, mt_getrandmax())), true)); - $id = session_id(); /* Close that session */ @session_write_close(); /* Redirect to phpMyAdmin (should use absolute URL here!) */