mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Reworks recipients.lua as static rather than (useless) instance
This commit is contained in:
parent
8f7ab1af85
commit
6c1280a8e5
17 changed files with 132 additions and 166 deletions
|
|
@ -9,9 +9,8 @@ package.path = dirs.installdir .. "/scripts/lua/modules/recipients/?.lua;" .. pa
|
|||
local rest_utils = require "rest_utils"
|
||||
local notification_configs = require "notification_configs"
|
||||
local recipients = require "recipients"
|
||||
local recipients_instance = recipients:create()
|
||||
|
||||
notification_configs.reset_configs()
|
||||
recipients_instance:cleanup()
|
||||
recipients.cleanup()
|
||||
|
||||
rest_utils.answer(rest_utils.consts.success.ok)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue