mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Fixed inc modules on pandora manage --get_module_data
This commit is contained in:
parent
1008912e94
commit
5b933977af
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user