[Fusionforge-commits] r14049 - trunk/src/common/include

Franck VILLAUME nerville at fusionforge.org
Tue Aug 2 17:49:54 CEST 2011


Author: nerville
Date: 2011-08-02 17:49:54 +0200 (Tue, 02 Aug 2011)
New Revision: 14049

Modified:
   trunk/src/common/include/utils.php
Log:
remove bloated function

Modified: trunk/src/common/include/utils.php
===================================================================
--- trunk/src/common/include/utils.php	2011-08-02 15:45:34 UTC (rev 14048)
+++ trunk/src/common/include/utils.php	2011-08-02 15:49:54 UTC (rev 14049)
@@ -1539,19 +1539,6 @@
 	    ENT_QUOTES, "UTF-8");
 }
 
-/* return an array from an array of arrays of arrays of ... */
-function array_flatten($array) {
-	$returnedValue = array();
-	foreach ($array as $value) {
-		if(is_array($value)) {
-			$returnedValue = array_flatten($value);
-		} else {
-			$returnedValue[] = $value;
-		}
-	}
-	return $returnedValue;
-}
-
 // Local Variables:
 // mode: php
 // c-file-style: "bsd"




More information about the Fusionforge-commits mailing list