Browse Source

(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 9 years ago
parent
commit
1f45f055d5
1 changed files with 6 additions and 0 deletions
  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)
 		if ($aAttributes != null)
 		{
 		{
 			foreach ($aAttributes as $sAttribute => $value)
 			foreach ($aAttributes as $sAttribute => $value)