Browse Source

Stop using session_unregister()

pdontthink 16 years ago
parent
commit
7443fe3229
1 changed files with 3 additions and 1 deletions
  1. 3 1
      functions/global.php

+ 3 - 1
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");
 }
 
 /**