[20990] removing uneeded vars

Caeies <[email protected]> Wed, 27 Jan 2010 21:04:17 +0000
Newsgroups gmane.comp.web.phpgroupware.cvs
Message-ID <[email protected]>
Revision: 20990
          http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=20990
Author:   Caeies
Date:     2010-01-27 21:04:17 +0000 (Wed, 27 Jan 2010)
Log Message:
-----------
removing uneeded vars

Modified Paths:
--------------
    modules/phpgwapi/trunk/inc/class.Template.inc.php

Modified: modules/phpgwapi/trunk/inc/class.Template.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.Template.inc.php	2010-01-27 21:03:43 UTC (rev 20989)
+++ modules/phpgwapi/trunk/inc/class.Template.inc.php	2010-01-27 21:04:17 UTC (rev 20990)
@@ -437,7 +437,7 @@
 			}
 		} else {
 			reset($varname);
-			while (list($k, $v) = each($varname)) {
+			while (list(, $v) = each($varname)) {
 				if (!empty($v)) {
 					if ($this->debug & 1) {
 						printf("<b>clear_var:</b> (with array) <b>%s</b><br>\n", $v);
@@ -479,7 +479,7 @@
 			}
 		} else {
 			reset($varname);
-			while (list($k, $v) = each($varname)) {
+			while (list(, $v) = each($varname)) {
 				if (!empty($v)) {
 					if ($this->debug & 1) {
 						printf("<b>unset_var:</b> (with array) <b>%s</b><br>\n", $v);
@@ -677,7 +677,7 @@
 			echo "<p><b>get_vars:</b> constructing array of vars...</p>\n";
 		}
 		reset($this->varkeys);
-		while (list($k, $v) = each($this->varkeys)) {
+		while (list($k, ) = each($this->varkeys)) {
 			$result[$k] = $this->get_var($k);
 		}
 		return $result;
@@ -715,7 +715,7 @@
 			return $str;
 		} else {
 			reset($varname);
-			while (list($k, $v) = each($varname)) {
+			while (list(, $v) = each($varname)) {
 				if (isset($this->varvals[$v])) {
 					$str = $this->varvals[$v];
 				} else {
@@ -762,7 +762,7 @@
 		}
 
 		reset($m);
-		while (list($k, $v) = each($m)) {
+		while (list(, $v) = each($m)) {
 			if (!isset($this->varkeys[$v])) {
 				if ($this->debug & 4) {
 					echo "<p><b>get_undefined:</b> undefined: $v</p>\n";