Mercurial > prosody-hg
comparison plugins/mod_storage_none.lua @ 8061:ef671d337577
mod_storage_none: Add a noop archive delete method
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Tue, 04 Apr 2017 18:46:51 +0200 |
| parents | 6a725b242804 |
| children |
comparison
equal
deleted
inserted
replaced
| 8059:6a725b242804 | 8061:ef671d337577 |
|---|---|
| 31 | 31 |
| 32 function driver:find() | 32 function driver:find() |
| 33 return function () end, 0; | 33 return function () end, 0; |
| 34 end | 34 end |
| 35 | 35 |
| 36 function driver:delete() | |
| 37 return true; | |
| 38 end | |
| 39 | |
| 36 module:provides("storage", driver); | 40 module:provides("storage", driver); |
