mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°2758 - Reset ValueSetDef cache when modifying some parameters
This commit is contained in:
@@ -124,11 +124,13 @@ class ValueSetObjects extends ValueSetDefinition
|
||||
public function SetModifierProperty($sPluginClass, $sProperty, $value)
|
||||
{
|
||||
$this->m_aModifierProperties[$sPluginClass][$sProperty] = $value;
|
||||
$this->m_bIsLoaded = false; // Reset cache
|
||||
}
|
||||
|
||||
public function AddCondition(DBSearch $oFilter)
|
||||
{
|
||||
$this->m_aExtraConditions[] = $oFilter;
|
||||
$this->m_aExtraConditions[] = $oFilter;
|
||||
$this->m_bIsLoaded = false; // Reset cache
|
||||
}
|
||||
|
||||
public function ToObjectSet($aArgs = array(), $sContains = '', $iAdditionalValue = null)
|
||||
|
||||
Reference in New Issue
Block a user