aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_storage_internal.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-07-28 21:24:59 +0200
committerKim Alvefur <zash@zash.se>2012-07-28 21:24:59 +0200
commitf3b4b75347db35923084aa8a113a55287a1f5398 (patch)
tree32d897e64b31f98d2a934d8d3b0b532d14143ec7 /plugins/mod_storage_internal.lua
parent8b514a0692d0deb6d1c0b9ddcb94f794c4d25b6e (diff)
downloadprosody-f3b4b75347db35923084aa8a113a55287a1f5398.tar.gz
prosody-f3b4b75347db35923084aa8a113a55287a1f5398.zip
mod_storage_internal: Add method for listing stores
Diffstat (limited to 'plugins/mod_storage_internal.lua')
-rw-r--r--plugins/mod_storage_internal.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/mod_storage_internal.lua b/plugins/mod_storage_internal.lua
index 821d1e1a..cd778373 100644
--- a/plugins/mod_storage_internal.lua
+++ b/plugins/mod_storage_internal.lua
@@ -16,4 +16,8 @@ function driver:set(user, data)
return datamanager.store(user, host, self.store, data);
end
+function driver:list_stores(username)
+ return datamanager.list_stores(username, host);
+end
+
module:add_item("data-driver", driver);