From: pdontthink Date: Fri, 8 May 2009 17:53:37 +0000 (+0000) Subject: Stop using session_unregister() X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=f48a90cae0cc40392dd10b2384d8a5d45bd91984 Stop using session_unregister() git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13662 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/global.php b/functions/global.php index 75867cd4..4e81a076 100644 --- a/functions/global.php +++ b/functions/global.php @@ -155,7 +155,9 @@ function sqsession_unregister ($name) { unset($_SESSION[$name]); - session_unregister("$name"); + // starts throwing warnings in PHP 5.3.0 and is + // removed in PHP 6 and is redundant anyway + //session_unregister("$name"); } /**