diff options
author | Kim Alvefur <zash@zash.se> | 2023-07-22 14:55:27 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-07-22 14:55:27 +0200 |
commit | 6aa08d7c58434685183a30805d7c77e11381719e (patch) | |
tree | 49704f0b708f36d04199de0155037886b42eb2c1 /util | |
parent | 022159d0f05f5c7d5b3cc7ad45857a797b8c4ec4 (diff) | |
download | prosody-6aa08d7c58434685183a30805d7c77e11381719e.tar.gz prosody-6aa08d7c58434685183a30805d7c77e11381719e.zip |
util.sql: Remove unused String() and Integer() functions
According to MattJ, leftovers from an earlier vision for util.sql
Diffstat (limited to 'util')
-rw-r--r-- | util/sql.lua | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/util/sql.lua b/util/sql.lua index 438b5718..c897d734 100644 --- a/util/sql.lua +++ b/util/sql.lua @@ -27,8 +27,6 @@ local function is_column(x) return getmetatable(x)==column_mt; end 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() return "Integer()" end -local function String() return "String()" end local function Column(definition) return setmetatable(definition, column_mt); @@ -378,8 +376,6 @@ return { is_index = is_index; is_table = is_table; is_query = is_query; - Integer = Integer; - String = String; Column = Column; Table = Table; Index = Index; |