aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_storage_none.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-04-04 18:46:51 +0200
committerKim Alvefur <zash@zash.se>2017-04-04 18:46:51 +0200
commit15698fba15b2462a8d5cbd8ee83f51ed31a70cbf (patch)
tree8ab00bf0eeea1087234b24d64e2a0b7171fc34ac /plugins/mod_storage_none.lua
parent46b3b5d02cb5c33782b9974ac71c7065031155de (diff)
downloadprosody-15698fba15b2462a8d5cbd8ee83f51ed31a70cbf.tar.gz
prosody-15698fba15b2462a8d5cbd8ee83f51ed31a70cbf.zip
mod_storage_none: Add a noop archive delete method
Diffstat (limited to 'plugins/mod_storage_none.lua')
-rw-r--r--plugins/mod_storage_none.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/mod_storage_none.lua b/plugins/mod_storage_none.lua
index 770b2832..e05a0fb7 100644
--- a/plugins/mod_storage_none.lua
+++ b/plugins/mod_storage_none.lua
@@ -33,4 +33,8 @@ function driver:find()
return function () end, 0;
end
+function driver:delete()
+ return true;
+end
+
module:provides("storage", driver);