mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
Finalized the demo of impact computation (removed an ugly test message) and added few comments
SVN:trunk[315]
This commit is contained in:
@@ -241,14 +241,12 @@ class AttributeLinkedSet extends AttributeDefinition
|
||||
//
|
||||
if (($this->IsParam('default_value')) && array_key_exists('this', $aArgs))
|
||||
{
|
||||
echo "### this est la <br/>\n";
|
||||
$aValues = $this->Get('default_value')->GetValues($aArgs);
|
||||
$oSet = DBObjectSet::FromArray($this->Get('linked_class'), $aValues);
|
||||
return $oSet;
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "### this manque a l'appel<br/>\n";
|
||||
return DBObjectSet::FromScratch($this->Get('linked_class'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user