Software /
code /
prosody
Comparison
plugins/mod_storage_sql.lua @ 4004:c1b3ecbed6c0
mod_storage_sql: Removed unnecessary initialization of a variable.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Wed, 05 Jan 2011 06:23:58 +0500 |
parent | 3980:6b2fac6602b3 |
child | 4007:062b849ca088 |
comparison
equal
deleted
inserted
replaced
4003:b840c4c77b92 | 4004:c1b3ecbed6c0 |
---|---|
25 local pairs = pairs; | 25 local pairs = pairs; |
26 local next = next; | 26 local next = next; |
27 local setmetatable = setmetatable; | 27 local setmetatable = setmetatable; |
28 local json = require "util.json"; | 28 local json = require "util.json"; |
29 | 29 |
30 local connection = ...; | 30 local connection; |
31 local host,user,store = module.host; | 31 local host,user,store = module.host; |
32 local params = module:get_option("sql"); | 32 local params = module:get_option("sql"); |
33 | 33 |
34 do -- process options to get a db connection | 34 do -- process options to get a db connection |
35 local DBI = require "DBI"; | 35 local DBI = require "DBI"; |