diff options
author | Kim Alvefur <zash@zash.se> | 2017-04-01 19:02:27 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-04-01 19:02:27 +0200 |
commit | 861400522cdc4f22164cdb2f57888a28ae6731bf (patch) | |
tree | cd49a7351c49a0cbc62bed95443c361f1e88c303 | |
parent | 79bc05914a516cf0d005b6adff8b264be907eaa0 (diff) | |
download | prosody-861400522cdc4f22164cdb2f57888a28ae6731bf.tar.gz prosody-861400522cdc4f22164cdb2f57888a28ae6731bf.zip |
mod_storage_sql: Remove compat for argument order change
-rw-r--r-- | plugins/mod_storage_sql.lua | 3 |
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 |