mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +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
|
|
@ -614,8 +614,8 @@ function plugins_utils.loadPlugins(community_plugins_only)
|
|||
ntop.reloadPeriodicScripts()
|
||||
|
||||
-- Mark a change in recipients so they will be automatically reloaded
|
||||
local recipients = require "recipients":create()
|
||||
recipients:set_recipients_change()
|
||||
local recipients = require "recipients"
|
||||
recipients.set_recipients_change()
|
||||
|
||||
-- Reload user scripts with their configurations
|
||||
local user_scripts = require "user_scripts"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue