mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
parent
e2a58a8c3d
commit
d32b979368
9 changed files with 4 additions and 29 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue