aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-04-01 19:02:27 +0200
committerKim Alvefur <zash@zash.se>2017-04-01 19:02:27 +0200
commit861400522cdc4f22164cdb2f57888a28ae6731bf (patch)
treecd49a7351c49a0cbc62bed95443c361f1e88c303 /plugins
parent79bc05914a516cf0d005b6adff8b264be907eaa0 (diff)
downloadprosody-861400522cdc4f22164cdb2f57888a28ae6731bf.tar.gz
prosody-861400522cdc4f22164cdb2f57888a28ae6731bf.zip
mod_storage_sql: Remove compat for argument order change
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_storage_sql.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/mod_storage_sql.lua b/plugins/mod_storage_sql.lua
index 3fa3230b..f48c7ae9 100644
--- a/plugins/mod_storage_sql.lua
+++ b/plugins/mod_storage_sql.lua
@@ -183,9 +183,6 @@ archive_store.caps = {
};
archive_store.__index = archive_store
function archive_store:append(username, key, value, when, with)
- if type(when) ~= "number" then
- when, with, value = value, when, with;
- end
local user,store = username,self.store;
local ok, key = engine:transaction(function()
if key then