Skip to content

Commit

Permalink
Remove unused require
Browse files Browse the repository at this point in the history
  • Loading branch information
cardigliano committed Dec 4, 2024
1 parent ecd3d87 commit fdbea19
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions scripts/lua/admin/prefs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,6 @@ local prefs = ntop.getPrefs()

local email_peer_pattern = [[^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*)$]]

if ntop.isPro() or ntop.isnEdgeEnterprise() then
package.path = dirs.installdir .. "/scripts/lua/pro/?.lua;" .. package.path
package.path = dirs.installdir .. "/scripts/lua/pro/modules/?.lua;" .. package.path
if hasClickHouseSupport() then
flow_db_utils = require("flow_db_utils")
end
end

sendHTTPContentTypeHeader('text/html')

local alerts_disabled = false
Expand Down

0 comments on commit fdbea19

Please sign in to comment.