#1020 Restrict dashboard/shortcut refresh interval -retrofit from trunk

SVN:2.0.3[3449]
This commit is contained in:
Romain Quetiez
2014-12-03 14:18:16 +00:00
parent ad3178d02e
commit 1e66220077
12 changed files with 169 additions and 21 deletions

View File

@@ -769,6 +769,14 @@ class Config
'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)