mod_storage_xmlarchive: Add support for user iteration API
Helps migration tools discover available users
--- a/mod_storage_xmlarchive/mod_storage_xmlarchive.lua Sun May 05 16:04:20 2019 +0200
+++ b/mod_storage_xmlarchive/mod_storage_xmlarchive.lua Sun May 05 16:09:30 2019 +0200
@@ -286,6 +286,10 @@
return dates;
end
+function archive:users()
+ return dm.users(module.host, self.store, "list");
+end
+
local provider = {};
function provider:open(store, typ)
if typ ~= "archive" then return nil, "unsupported-store"; end