# HG changeset patch # User Kim Alvefur # Date 1639144315 -3600 # Node ID 17fbe82d4bfefbdc55aee6249f519eb55a7e51d5 # Parent 5704082b87033ac1ee6b92d5f206822870828dd0 mod_export_skeletons: Remove wildcard query It is not supported by the storage API, only deletion supports wildcards. diff -r 5704082b8703 -r 17fbe82d4bfe mod_export_skeletons/README.md --- a/mod_export_skeletons/README.md Fri Dec 10 14:19:10 2021 +0100 +++ b/mod_export_skeletons/README.md Fri Dec 10 14:51:55 2021 +0100 @@ -11,10 +11,6 @@ Multiple user JIDs can be given. -Some storage drivers such as [SQL][doc:modules:mod_storage_sql] allows -exporting all users at once by giving the special username `*`, i.e. -`prosodyctl mod_export_skeletons \*@example.com`. - ## Options `--store=archive` diff -r 5704082b8703 -r 17fbe82d4bfe mod_export_skeletons/mod_export_skeletons.lua --- a/mod_export_skeletons/mod_export_skeletons.lua Fri Dec 10 14:19:10 2021 +0100 +++ b/mod_export_skeletons/mod_export_skeletons.lua Fri Dec 10 14:51:55 2021 +0100 @@ -53,7 +53,7 @@ end local archive = module:context(host):open_store(store, "archive"); - local iter, total = assert(archive:find(username == "*" or username, query)) + local iter, total = assert(archive:find(username, query)) if total then io.stderr:write(string.format("Processing %d entries\n", total)); end for _, item in iter do local clean = skeleton(item);