mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
add condition to check if agent interval token should be updated in massive operations based on previous result
This commit is contained in:
parent
eb831dbbcd
commit
95254341ce
@ -199,7 +199,7 @@ if ($update_agents) {
|
||||
}
|
||||
|
||||
// Update the configuration files.
|
||||
if ($old_interval_value != $values['intervalo']) {
|
||||
if ($result && ($old_interval_value != $values['intervalo'])) {
|
||||
enterprise_hook(
|
||||
'config_agents_update_config_token',
|
||||
[
|
||||
|
Loading…
x
Reference in New Issue
Block a user