Remove Alert Endpoint preference

Fixes #2859
This commit is contained in:
emanuele-f 2019-09-23 10:48:21 +02:00
parent e2a58a8c3d
commit d32b979368
9 changed files with 4 additions and 29 deletions

View file

@ -69,10 +69,9 @@ end
-- ##############################################
local function getEnabledAlertNotificationModules()
local notifications_enabled = (ntop.getPref("ntopng.prefs.alerts.external_notifications_enabled") == "1")
local has_alerts_disabled = (ntop.getPref("ntopng.prefs.disable_alerts_generation") == "1")
if not notifications_enabled or has_alerts_disabled then
if has_alerts_disabled then
return {}
end