aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
commitfa0e2ec0b1910c4f1f48f050d0b81e58bd89a05f (patch)
tree8ab00bf0eeea1087234b24d64e2a0b7171fc34ac /plugins
parentf94c56040c088f63efdcab886d8ffc311d2e4359 (diff)
downloadprosody-fa0e2ec0b1910c4f1f48f050d0b81e58bd89a05f.tar.gz
prosody-fa0e2ec0b1910c4f1f48f050d0b81e58bd89a05f.zip
mod_storage_none: Add a noop archive delete method
Diffstat (limited to 'plugins')
-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);