mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
🎨 Remove useless consecutive call
This commit is contained in:
@@ -3590,7 +3590,7 @@ abstract class DBObject implements iDisplay
|
|||||||
$sStateAttCode = MetaModel::GetStateAttributeCode(get_class($this));
|
$sStateAttCode = MetaModel::GetStateAttributeCode(get_class($this));
|
||||||
if (empty($sStateAttCode)) return array();
|
if (empty($sStateAttCode)) return array();
|
||||||
|
|
||||||
$sState = $this->Get(MetaModel::GetStateAttributeCode(get_class($this)));
|
$sState = $this->Get($sStateAttCode);
|
||||||
return MetaModel::EnumTransitions(get_class($this), $sState);
|
return MetaModel::EnumTransitions(get_class($this), $sState);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user