mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Cleanup unused plugins_utils.loadAlertEndpoint
This commit is contained in:
parent
5d178b0bf4
commit
4270f6e912
1 changed files with 0 additions and 12 deletions
|
|
@ -826,18 +826,6 @@ end
|
|||
|
||||
-- ##############################################
|
||||
|
||||
function plugins_utils.loadAlertEndpoint(endpoint_key)
|
||||
local endpoint_path = os_utils.fixPath(RUNTIME_PATHS.alert_endpoints .. "/".. endpoint_key ..".lua")
|
||||
|
||||
if not ntop.exists(endpoint_path) then
|
||||
return(nil)
|
||||
end
|
||||
|
||||
return(dofile(endpoint_path))
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
-- Descending sort by priority
|
||||
local function endpoint_sorter(a, b)
|
||||
if((a.prio ~= nil) and (b.prio == nil)) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue