aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_storage_sql.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2012-09-12 23:41:28 +0500
committerWaqas Hussain <waqas20@gmail.com>2012-09-12 23:41:28 +0500
commit7daf3c7c14d6aa8adb83c80a23a64ad356aecb08 (patch)
tree8232a35e4a72f1529167fa67c643a5096e15f02c /plugins/mod_storage_sql.lua
parentd9d38ef125272cd4eaf93453275cc9078b7e8281 (diff)
downloadprosody-7daf3c7c14d6aa8adb83c80a23a64ad356aecb08.tar.gz
prosody-7daf3c7c14d6aa8adb83c80a23a64ad356aecb08.zip
core.storagemanager, mod_storage_*: "data-driver" -> "storage-provider", to allow using module:provides().
Diffstat (limited to 'plugins/mod_storage_sql.lua')
-rw-r--r--plugins/mod_storage_sql.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_storage_sql.lua b/plugins/mod_storage_sql.lua
index ea25c90b..f7c0da7c 100644
--- a/plugins/mod_storage_sql.lua
+++ b/plugins/mod_storage_sql.lua
@@ -400,4 +400,4 @@ function driver:purge(username)
return commit(true, changed);
end
-module:add_item("data-driver", driver);
+module:provides("storage", driver);