Software / code / prosody
Changeset
7276:30dfaf36ea6d
util.sql: Remove unused arguments [luacheck]
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 13 Mar 2016 18:35:00 +0100 |
| parents | 7275:187ba2e9c012 |
| children | 7277:7be7108cb6ed |
| files | util/sql.lua |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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);