drop call to session_register, this is redundant in PHP >4.1.0,
[squirrelmail.git] / functions / global.php
index a263d6d..73f4ef9 100644 (file)
@@ -93,9 +93,7 @@ function sqsession_register ($var, $name) {
 
     sqsession_is_active();
 
-    $_SESSION["$name"] = $var;
-
-    session_register("$name");
+    $_SESSION[$name] = $var;
 }
 
 /**