From beaaa163bb22529af26f902d0c13dedf5fae4c19 Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Mon, 14 Dec 2015 13:11:58 +0000 Subject: [PATCH] (retrofit) (internal) Remove _altered_in when exporting the delta. SVN:2.2.0[3850] --- setup/modelfactory.class.inc.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setup/modelfactory.class.inc.php b/setup/modelfactory.class.inc.php index 00b541e84..0eb9cbb51 100644 --- a/setup/modelfactory.class.inc.php +++ b/setup/modelfactory.class.inc.php @@ -1091,6 +1091,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)