Explorar o código

(internal) Remove _altered_in when exporting the delta.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3847 a333f486-631f-4898-b8df-5754b55c2be0
dflaven %!s(int64=9) %!d(string=hai) anos
pai
achega
1f45f055d5
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      setup/modelfactory.class.inc.php

+ 6 - 0
setup/modelfactory.class.inc.php

@@ -1095,6 +1095,12 @@ EOF
 				}
 			}
 		}
+		$oNodesToClean = $oDelta->GetNodes('/itop_design//*[@_altered_in]');
+		foreach($oNodesToClean as $oNode)
+		{
+			$oNode->removeAttribute('_altered_in');
+		}
+		
 		if ($aAttributes != null)
 		{
 			foreach ($aAttributes as $sAttribute => $value)