Kaynağa Gözat

Disabled automatic population of Zlists which was buggy. Not all ZLists are made of AttCode !

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@153 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 15 yıl önce
ebeveyn
işleme
b2ffce5dd4
1 değiştirilmiş dosya ile 9 ekleme ve 9 silme
  1. 9 9
      core/metamodel.class.php

+ 9 - 9
core/metamodel.class.php

@@ -817,15 +817,15 @@ abstract class MetaModel
 
 			// Define defaults values for the standard ZLists
 			//
-			foreach (self::$m_aListInfos as $sListCode => $aListConfig)
-			{
-				if (!isset(self::$m_aListData[$sClass][$sListCode]))
-				{
-					$aAllAttributes = array_keys(self::$m_aAttribDefs[$sClass]);
-					self::$m_aListData[$sClass][$sListCode] = $aAllAttributes;
-					//echo "<p>$sClass: $sListCode (".count($aAllAttributes)." attributes)</p>\n";
-				}
-			}
+			//foreach (self::$m_aListInfos as $sListCode => $aListConfig)
+			//{
+			//	if (!isset(self::$m_aListData[$sClass][$sListCode]))
+			//	{
+			//		$aAllAttributes = array_keys(self::$m_aAttribDefs[$sClass]);
+			//		self::$m_aListData[$sClass][$sListCode] = $aAllAttributes;
+			//		//echo "<p>$sClass: $sListCode (".count($aAllAttributes)." attributes)</p>\n";
+			//	}
+			//}
 		}
 
 	}