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 | 047404cab0e0419092215e93d2b1d865d4549679 (patch) | |
tree | 32d897e64b31f98d2a934d8d3b0b532d14143ec7 /plugins | |
parent | 88784b42758c53ae76fa0eb2c58cbc2586f7d060 (diff) | |
download | prosody-047404cab0e0419092215e93d2b1d865d4549679.tar.gz prosody-047404cab0e0419092215e93d2b1d865d4549679.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); |