#1020 Restrict dashboard/shortcut refresh interval

SVN:trunk[3448]
This commit is contained in:
Romain Quetiez
2014-12-03 11:38:19 +00:00
parent 909729e9f1
commit ca7ee0f138
12 changed files with 170 additions and 22 deletions

View File

@@ -792,7 +792,15 @@ class Config
'value' => '',
'source_of_value' => '',
'show_in_conf_sample' => false,
),
),
'min_reload_interval' => array(
'type' => 'integer',
'description' => 'Minimum refresh interval (seconds) for dashboards, shortcuts, etc. Even if the interval is set programmatically, it is forced to that minimum',
'default' => 5, // In iTop 2.0.3, this was the hardcoded value
'value' => '',
'source_of_value' => '',
'show_in_conf_sample' => false,
),
);
public function IsProperty($sPropCode)