Add warning when 'Event Storm protection' is activated, tiquet: #2065
This commit is contained in:
parent
790c81a250
commit
0ab523ca9a
|
@ -1407,6 +1407,12 @@ function config_check () {
|
||||||
__("Default font doesnt exist"));
|
__("Default font doesnt exist"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($config['event_storm_protection']) {
|
||||||
|
set_pandora_error_for_header(
|
||||||
|
__('You need to restart server after altering this configuration setting.'),
|
||||||
|
__('Event storm protection is activated. No events will be generated during this mode.'));
|
||||||
|
}
|
||||||
|
|
||||||
global $develop_bypass;
|
global $develop_bypass;
|
||||||
|
|
||||||
if ($develop_bypass == 1) {
|
if ($develop_bypass == 1) {
|
||||||
|
|
Loading…
Reference in New Issue