mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
User script categories id assignment fixes
This commit is contained in:
parent
3086605ce5
commit
65484afb6c
3 changed files with 3 additions and 10 deletions
|
|
@ -119,13 +119,6 @@ user_scripts.script_categories = {
|
|||
}
|
||||
}
|
||||
|
||||
-- Auto-assign an id to the categories
|
||||
local cat_id = 1
|
||||
for cat_k, cat_v in pairs(user_scripts.script_categories) do
|
||||
cat_v["id"] = cat_id
|
||||
cat_id = cat_id + 1
|
||||
end
|
||||
|
||||
-- Hook points for flow/periodic modules
|
||||
-- NOTE: keep in sync with the Documentation
|
||||
user_scripts.script_types = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue