Added category renaming cleanup at startup

This commit is contained in:
Matteo Biscosi 2024-01-31 10:14:37 +00:00
parent 878d514ba8
commit 80b5b9fb3c
3 changed files with 38 additions and 3 deletions

View file

@ -12,6 +12,7 @@ local json = require("dkjson")
local alerts_api = require("alerts_api")
local alert_consts = require "alert_consts"
local file_utils = require "file_utils"
local protos_utils = require "protos_utils"
-- ##############################################
@ -897,7 +898,7 @@ function lists_utils.startup()
end
traceError(TRACE_NORMAL, TRACE_CONSOLE, "Refreshing category lists...")
protos_utils.clearOldApplications()
lists_utils.downloadLists()
lists_utils.reloadLists()
-- Need to do the actual reload also here as otherwise some