[Fusionforge-commits] r15035 - trunk/src/common/docman/include

Franck VILLAUME nerville at fusionforge.org
Sun Jan 29 17:42:26 CET 2012


Author: nerville
Date: 2012-01-29 17:42:25 +0100 (Sun, 29 Jan 2012)
New Revision: 15035

Modified:
   trunk/src/common/docman/include/vtemplate.class.php
Log:
fix: remove unset & useless vars

Modified: trunk/src/common/docman/include/vtemplate.class.php
===================================================================
--- trunk/src/common/docman/include/vtemplate.class.php	2012-01-29 16:29:29 UTC (rev 15034)
+++ trunk/src/common/docman/include/vtemplate.class.php	2012-01-29 16:42:25 UTC (rev 15035)
@@ -10,10 +10,10 @@
  *   + THIEBAUT Jean-Baptiste(J.Baptiste at leweby.com)  -  http://www.leweby.com .
  *   + CAMPANA François (grem at concept-w.net).
  * Licence: GPL.
+ *
  * 
- * 
  *
- *			  
+ *  
  *****************************************************************/ 
 
 if ( !isset($DEFINE_VTEMPLATE) ){
@@ -404,10 +404,10 @@
 return $handle;
 }
 
-function newSession($handle="{0}",$nom_zone = "|root|"){
-if ( $this->sessions[$handle][$nom_zone]->used ) $this->closeSession($handle,$nom_zone);
-$this->addSession($handle,$nom_zone,$cache,$time,$num_session);
-return 1;
+function newSession($handle="{0}", $nom_zone = "|root|"){
+	if ( $this->sessions[$handle][$nom_zone]->used ) $this->closeSession($handle,$nom_zone);
+	$this->addSession($handle,$nom_zone);
+	return 1;
 }
 
 function addSession($handle="{0}",$nom_zone = "|root|"){




More information about the Fusionforge-commits mailing list