mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
ImageAttribute: only in XML version 1.3
SVN:trunk[4131]
This commit is contained in:
@@ -520,6 +520,15 @@ class iTopDesignFormat
|
||||
$this->DeleteNode($oNode);
|
||||
}
|
||||
|
||||
// Remove Image attributes
|
||||
//
|
||||
$oNodeList = $oXPath->query("/itop_design/classes//class/fields/field[@xsi:type='AttributeImage']");
|
||||
foreach ($oNodeList as $oNode)
|
||||
{
|
||||
$this->LogWarning('The attribute '.self::GetItopNodePath($oNode).' is irrelevant and must be removed.');
|
||||
$this->DeleteNode($oNode);
|
||||
}
|
||||
|
||||
// Discard _delta="if_exists"
|
||||
//
|
||||
$oNodeList = $oXPath->query("//*[@_delta='if_exists']");
|
||||
|
||||
Reference in New Issue
Block a user