aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_storage_sql.lua
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
commit1113bbdf2251634e053c1bda389b472ffdc6f733 (patch)
treecd49a7351c49a0cbc62bed95443c361f1e88c303 /plugins/mod_storage_sql.lua
parentd36a5333ea6c3d3d7806450f836dd132848f667b (diff)
downloadprosody-1113bbdf2251634e053c1bda389b472ffdc6f733.tar.gz
prosody-1113bbdf2251634e053c1bda389b472ffdc6f733.zip
mod_storage_sql: Remove compat for argument order change
Diffstat (limited to 'plugins/mod_storage_sql.lua')
-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