diff options
author | Kim Alvefur <zash@zash.se> | 2012-07-28 21:24:59 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2012-07-28 21:24:59 +0200 |
commit | f3b4b75347db35923084aa8a113a55287a1f5398 (patch) | |
tree | 32d897e64b31f98d2a934d8d3b0b532d14143ec7 /plugins | |
parent | 8b514a0692d0deb6d1c0b9ddcb94f794c4d25b6e (diff) | |
download | prosody-f3b4b75347db35923084aa8a113a55287a1f5398.tar.gz prosody-f3b4b75347db35923084aa8a113a55287a1f5398.zip |
mod_storage_internal: Add method for listing stores
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_storage_internal.lua | 4 |
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); |