Changeset

3585:ddf109d58eff

mod_storage_xmlarchive: Add support for user iteration API Helps migration tools discover available users
author Kim Alvefur <zash@zash.se>
date Sun, 05 May 2019 16:09:30 +0200
parents 3584:611ac62c5b63
children 3586:796b29911747
files mod_storage_xmlarchive/mod_storage_xmlarchive.lua
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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