Merge branch 'ent-1411-pandora_manage---get_module_data-con-modulos-incrementales' into 'develop'

Fixed inc modules on pandora manage --get_module_data

See merge request artica/pandorafms!894
This commit is contained in:
vgilc 2017-10-26 10:39:16 +02:00
commit e1c3e55582
1 changed files with 0 additions and 7 deletions

View File

@ -4535,13 +4535,6 @@ sub cli_module_get_data () {
AND utimestamp > (UNIX_TIMESTAMP(NOW()) - $interval)
ORDER BY utimestamp DESC");
}
elsif ($module_type =~ m/_inc$/) {
@data = get_db_rows ($dbh, "SELECT utimestamp, datos
FROM tagente_datos_inc
WHERE id_agente_modulo = $id_agent_module
AND utimestamp > (UNIX_TIMESTAMP(NOW()) - $interval)
ORDER BY utimestamp DESC");
}
else {
@data = get_db_rows ($dbh, "SELECT utimestamp, datos
FROM tagente_datos