Mercurial > prosody-hg
comparison plugins/mod_storage_internal.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 |
| parents | 656ce68c4781 |
| children | b41c33dc7c36 |
comparison
equal
deleted
inserted
replaced
| 5120:bcabea740c00 | 5121:b5a5643f8572 |
|---|---|
| 22 | 22 |
| 23 function driver:purge(user) | 23 function driver:purge(user) |
| 24 return datamanager.purge(user, host); | 24 return datamanager.purge(user, host); |
| 25 end | 25 end |
| 26 | 26 |
| 27 module:add_item("data-driver", driver); | 27 module:provides("storage", driver); |
