mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
N°1173: code refactoring of the previously coded bugfix.
SVN:trunk[5792]
This commit is contained in:
@@ -1176,20 +1176,10 @@ class Config
|
||||
|
||||
}
|
||||
|
||||
public function Get($sPropCode, $sModule = null)
|
||||
{
|
||||
$sRetValue = '';
|
||||
if(empty($sModule))
|
||||
{
|
||||
$sRetValue = $this->m_aSettings[$sPropCode]['value'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$sRetValue = $this->m_aModuleSettings[$sModule][$sPropCode];
|
||||
|
||||
}
|
||||
return $sRetValue;
|
||||
}
|
||||
public function Get($sPropCode)
|
||||
{
|
||||
return $this->m_aSettings[$sPropCode]['value'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Event log options (see LOG_... definition)
|
||||
|
||||
Reference in New Issue
Block a user