aboutsummaryrefslogtreecommitdiffstats
path: root/util/sql.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2015-06-03 15:55:43 +0100
committerMatthew Wild <mwild1@gmail.com>2015-06-03 15:55:43 +0100
commitc57a486144a2dd64276afd826af3e23e9ac2e168 (patch)
treec8f0c1cc98630e58e4f0e80582f8468230266840 /util/sql.lua
parentac11127ab21e1313052897810a22dfbb82704a1d (diff)
downloadprosody-c57a486144a2dd64276afd826af3e23e9ac2e168.tar.gz
prosody-c57a486144a2dd64276afd826af3e23e9ac2e168.zip
util.sql: Expose db2uri helper function
Diffstat (limited to 'util/sql.lua')
-rw-r--r--util/sql.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sql.lua b/util/sql.lua
index 8d40a3e2..768dd414 100644
--- a/util/sql.lua
+++ b/util/sql.lua
@@ -273,7 +273,7 @@ function engine:set_encoding() -- to UTF-8
end
local engine_mt = { __index = engine };
-local function db2uri(params)
+function db2uri(params)
return build_url{
scheme = params.driver,
user = params.username,