Removed debug print

This commit is contained in:
MatteoBiscosi 2022-02-11 18:24:10 +01:00
parent 2e2448ac57
commit 56a03ff710

View file

@ -171,11 +171,8 @@ function script_manager.getMenuEntries()
for fname in pairs(ntop.readdir(RUNTIME_PATHS.menu_items)) do
local req_name = string.format("%s.%s", MENU_ITEMS_PATH, fname)
tprint(req_name)
local menu_entry = require(req_name)
tprint(menu_entry)
if(menu_entry and ((not menu_entry.is_shown) or menu_entry.is_shown())) then
-- Don't add any getHttpPrefix to the url here, it's the caller that
-- can potentially add it