Changeset

8029:e859f279add4

mod_storage_sql: Remove compat for argument order change
author Kim Alvefur <zash@zash.se>
date Sat, 01 Apr 2017 19:02:27 +0200
parents 8025:8a7c4497569a
children 8030:bd3527198308
files plugins/mod_storage_sql.lua
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_storage_sql.lua	Fri Mar 31 18:52:53 2017 +0200
+++ b/plugins/mod_storage_sql.lua	Sat Apr 01 19:02:27 2017 +0200
@@ -183,9 +183,6 @@
 };
 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