Software /
code /
prosody
Diff
util/sql.lua @ 7276:30dfaf36ea6d
util.sql: Remove unused arguments [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 13 Mar 2016 18:35:00 +0100 |
parent | 7275:187ba2e9c012 |
child | 7306:98c4c3a2b536 |
line wrap: on
line diff
--- a/util/sql.lua Sun Mar 13 18:31:53 2016 +0100 +++ b/util/sql.lua Sun Mar 13 18:35:00 2016 +0100 @@ -25,8 +25,8 @@ local function is_index(x) return getmetatable(x)==index_mt; end local function is_table(x) return getmetatable(x)==table_mt; end local function is_query(x) return getmetatable(x)==query_mt; end -local function Integer(n) return "Integer()" end -local function String(n) return "String()" end +local function Integer() return "Integer()" end +local function String() return "String()" end local function Column(definition) return setmetatable(definition, column_mt);