mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Cleaned up the code from plugin_utils
This commit is contained in:
parent
f1e8091928
commit
57a85de50e
105 changed files with 620 additions and 918 deletions
|
|
@ -6,7 +6,7 @@ local dirs = ntop.getDirs()
|
|||
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
||||
|
||||
require "lua_utils"
|
||||
local plugins_utils = require("plugins_utils")
|
||||
local script_manager = require("script_manager")
|
||||
local rest_utils = require("rest_utils")
|
||||
|
||||
-- ################################################
|
||||
|
|
@ -84,8 +84,7 @@ end
|
|||
|
||||
local res = {}
|
||||
local i = 0
|
||||
local sys_ifaceid = getSystemInterfaceId()
|
||||
local charts_available = plugins_utils.timeseriesCreationEnabled()
|
||||
local charts_available = script_manager.systemTimeseriesEnabled()
|
||||
|
||||
for key in pairsByValues(sort_to_key, sOrder) do
|
||||
if i >= to_skip + perPage then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue