from retail

This commit is contained in:
Bunny67
2022-05-19 22:04:17 +03:00
parent 9465daedd8
commit e7e789686a
86 changed files with 9118 additions and 5486 deletions
+1 -2
View File
@@ -37,11 +37,10 @@ function Private.CleanArchive(historyCutoff, migrationCutoff)
end
end
function Private.SetHistory(uid, data, source, addon)
function Private.SetHistory(uid, data, source)
if uid and data then
local repo = loadHistory()
data.source = source
data.addon = source == "addon" and addon or nil
local hist = repo:Set(uid, data, true)
return hist
end