aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_storage_internal.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-07-28 20:59:03 +0100
committerMatthew Wild <mwild1@gmail.com>2012-07-28 20:59:03 +0100
commitd1c2d92ece428bb333811687b773d225ed4cc726 (patch)
tree57f657bdb5f9107ab5d46cd8ea6e0f18e7a20b11 /plugins/mod_storage_internal.lua
parent96fba97cf361b0c8b3316978fa982b3c900fab14 (diff)
parenta5ad1b5b1739bd8c4393918e73d07ab5854f14b1 (diff)
downloadprosody-d1c2d92ece428bb333811687b773d225ed4cc726.tar.gz
prosody-d1c2d92ece428bb333811687b773d225ed4cc726.zip
Merge with Zash
Diffstat (limited to 'plugins/mod_storage_internal.lua')
-rw-r--r--plugins/mod_storage_internal.lua8
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);