From 1113bbdf2251634e053c1bda389b472ffdc6f733 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 1 Apr 2017 19:02:27 +0200 Subject: mod_storage_sql: Remove compat for argument order change --- plugins/mod_storage_sql.lua | 3 --- 1 file changed, 3 deletions(-) (limited to 'plugins') 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 -- cgit v1.2.3