Code cleanup: removed code used very seldom such as host aggregations/contacts. This should reduce memory usage and make ntopng faster

Little progresses towards MySQL support
This commit is contained in:
Luca Deri 2015-08-08 01:13:59 +02:00
parent c85468df55
commit 6aa141caa9
59 changed files with 253 additions and 4282 deletions

View file

@ -14,13 +14,6 @@ sendHTTPHeader('application/json')
interface.select(ifname)
if((_GET["aggregated"] == nil) or (_GET["aggregated"] == 0)) then
aggregation = false
else
aggregation = true
end
rsp = interface.getHostActivityMap(host_info["host"], aggregation, host_info["vlan"])
rsp = interface.getHostActivityMap(host_info["host"], host_info["vlan"])
print(rsp)