mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
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:
parent
c85468df55
commit
6aa141caa9
59 changed files with 253 additions and 4282 deletions
|
|
@ -23,7 +23,7 @@ key = _GET["key"]
|
|||
if((sortColumn == nil) or (sortColumn == "column_")) then
|
||||
sortColumn = getDefaultTableSort("http_hosts")
|
||||
else
|
||||
if((aggregated == nil) and (sortColumn ~= "column_") and (sortColumn ~= "")) then
|
||||
if((sortColumn ~= "column_") and (sortColumn ~= "")) then
|
||||
tablePreferences("sort_http_hosts", sortColumn)
|
||||
end
|
||||
end
|
||||
|
|
@ -33,9 +33,7 @@ end
|
|||
if(sortOrder == nil) then
|
||||
sortOrder = getDefaultTableSortOrder("http_hosts")
|
||||
else
|
||||
if((aggregated == nil)
|
||||
and (sortColumn ~= "column_")
|
||||
and (sortColumn ~= "")) then
|
||||
if((sortColumn ~= "column_") and (sortColumn ~= "")) then
|
||||
tablePreferences("sort_order_http_hosts",sortOrder)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue