diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-07-28 20:59:03 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-07-28 20:59:03 +0100 |
commit | 8aafe03289bdc2e8697bf72d226c4325ffc8d51f (patch) | |
tree | 57f657bdb5f9107ab5d46cd8ea6e0f18e7a20b11 /plugins/mod_storage_internal.lua | |
parent | 655defbb532f079c1476511db9c47b141a1d9792 (diff) | |
parent | 5e57a36957ea2d717865eefa2155c5dc854f8b4d (diff) | |
download | prosody-8aafe03289bdc2e8697bf72d226c4325ffc8d51f.tar.gz prosody-8aafe03289bdc2e8697bf72d226c4325ffc8d51f.zip |
Merge with Zash
Diffstat (limited to 'plugins/mod_storage_internal.lua')
-rw-r--r-- | plugins/mod_storage_internal.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/mod_storage_internal.lua b/plugins/mod_storage_internal.lua index 821d1e1a..92ac3ef5 100644 --- a/plugins/mod_storage_internal.lua +++ b/plugins/mod_storage_internal.lua @@ -16,4 +16,12 @@ 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 + +function driver:purge(user) + return datamanager.purge(user, host); +end + module:add_item("data-driver", driver); |