Diff

plugins/mod_storage_sql.lua @ 5121:b5a5643f8572

core.storagemanager, mod_storage_*: "data-driver" -> "storage-provider", to allow using module:provides().
author Waqas Hussain <waqas20@gmail.com>
date Wed, 12 Sep 2012 23:41:28 +0500
parent 5056:a125daa42ad4
child 5122:b41c33dc7c36
line wrap: on
line diff
--- a/plugins/mod_storage_sql.lua	Wed Sep 12 22:22:31 2012 +0500
+++ b/plugins/mod_storage_sql.lua	Wed Sep 12 23:41:28 2012 +0500
@@ -400,4 +400,4 @@
 	return commit(true, changed);
 end
 
-module:add_item("data-driver", driver);
+module:provides("storage", driver);