mod_storage_xmlarchive/mod_storage_xmlarchive.lua
changeset 1835 004d3bfc05ea
parent 1823 1b08597b5e6f
child 1973 e63dba236a2a
equal deleted inserted replaced
1834:a45f2f79e99b 1835:004d3bfc05ea
   216 		end
   216 		end
   217 	end
   217 	end
   218 	return true;
   218 	return true;
   219 end
   219 end
   220 
   220 
       
   221 function archive:dates(username)
       
   222 	return dm.list_load(username, module.host, self.store);
       
   223 end
       
   224 
   221 local provider = {};
   225 local provider = {};
   222 function provider:open(store, typ)
   226 function provider:open(store, typ)
   223 	if typ ~= "archive" then return nil, "unsupported-store"; end
   227 	if typ ~= "archive" then return nil, "unsupported-store"; end
   224 	return setmetatable({ store = store }, archive_mt);
   228 	return setmetatable({ store = store }, archive_mt);
   225 end
   229 end