Cleaned up the code from plugin_utils

This commit is contained in:
MatteoBiscosi 2022-02-11 11:55:34 +01:00
parent f1e8091928
commit 57a85de50e
105 changed files with 620 additions and 918 deletions

View file

@ -2,8 +2,6 @@
-- (C) 2017-22 - ntop.org
--
local plugins_utils = require "plugins_utils"
local email = {
name = "Email",
endpoint_params = {
@ -13,7 +11,7 @@ local email = {
{ param_name = "smtp_password", optional = true },
},
endpoint_template = {
plugin_key = "email",
script_key = "email",
template_name = "email_endpoint.template"
},
recipient_params = {
@ -21,7 +19,7 @@ local email = {
{ param_name = "cc", optional = true },
},
recipient_template = {
plugin_key = "email",
script_key = "email",
template_name = "email_recipient.template"
},
}