Removed call to ntop.reloadPeriodicScripts that is no longer required

This commit is contained in:
Luca Deri 2021-10-20 15:38:30 +02:00
parent 69bf5bc3b5
commit 86435e3561
2 changed files with 0 additions and 13 deletions

View file

@ -103,9 +103,6 @@ function host_pools:end_transaction()
-- Reload pools
ntop.reloadHostPools()
-- Reload periodic scripts
ntop.reloadPeriodicScripts()
self.transaction_started = nil
end
@ -301,9 +298,6 @@ function host_pools:_persist(pool_id, name, members, recipients, policy)
if recipients then -- safety check
self:set_host_recipients(recipients)
end
-- Reload periodic scripts
ntop.reloadPeriodicScripts()
end
-- Return the assigned pool_id
@ -347,9 +341,6 @@ function host_pools:delete_pool(pool_id)
-- Reload pools
ntop.reloadHostPools()
-- Reload periodic scripts
ntop.reloadPeriodicScripts()
ret = true
end