# HG changeset patch # User Emmanuel Gil Peyrot # Date 1573659948 -3600 # Node ID 05bca7a771d63323aa29bde8e1aece62f9341996 # Parent 33b3e2387a10025f2f960874fd5aba3ea0f428e8 mod_bookmarks2: Remove unused variables. diff -r 33b3e2387a10 -r 05bca7a771d6 mod_bookmarks2/mod_bookmarks2.lua --- a/mod_bookmarks2/mod_bookmarks2.lua Wed Nov 13 16:40:09 2019 +0100 +++ b/mod_bookmarks2/mod_bookmarks2.lua Wed Nov 13 16:45:48 2019 +0100 @@ -9,9 +9,6 @@ local mod_pep = module:depends "pep"; local private_storage = module:open_store("private", "map"); -local legacy_ns = "storage:bookmarks"; -local ns = "urn:xmpp:bookmarks:0"; - local default_options = { ["persist_items"] = true; -- This should be much higher, the XEP recommends 10000 but mod_pep rejects that. @@ -193,7 +190,7 @@ return; end - local bookmarks = query:get_child("storage", legacy_ns); + local bookmarks = query:get_child("storage", "storage:bookmarks"); if bookmarks == nil then return; end