# HG changeset patch # User Kim Alvefur <zash@zash.se> # Date 1552841814 -3600 # Node ID 4e9d4b07e3e9976e9e176934c96db0531d6edf55 # Parent 972b21d343066b545aa411dc3cba0df0ce9b65a5 mod_storage_xmlarchive: Remove per day files during migration diff -r 972b21d34306 -r 4e9d4b07e3e9 mod_storage_xmlarchive/mod_storage_xmlarchive.lua --- a/mod_storage_xmlarchive/mod_storage_xmlarchive.lua Mon Mar 18 21:26:06 2019 +0100 +++ b/mod_storage_xmlarchive/mod_storage_xmlarchive.lua Sun Mar 17 17:56:54 2019 +0100 @@ -336,6 +336,8 @@ data.attr.stamp_legacy = dt.legacy(data.when); assert(dm.list_append(user, host, store, data)); end + assert(os.remove(dm.getpath(user .. "@" .. date, host, store, "list"))); + assert(os.remove(dm.getpath(user .. "@" .. date, host, store, "xml"))); end end else -- convert from internal