comparison plugins/mod_storage_sql.lua @ 6168:3942630b4e35

Merge 0.10->trunk
author Kim Alvefur <zash@zash.se>
date Fri, 09 May 2014 23:35:54 +0200
parents 6a184b16b717
children 7cf6d3a2c855
comparison
equal deleted inserted replaced
6163:7a8899d314d7 6168:3942630b4e35
47 path = params.database, 47 path = params.database,
48 }; 48 };
49 end 49 end
50 50
51 51
52 local resolve_relative_path = require "core.configmanager".resolve_relative_path; 52 local resolve_relative_path = require "util.paths".resolve_relative_path;
53 53
54 local function test_connection() 54 local function test_connection()
55 if not connection then return nil; end 55 if not connection then return nil; end
56 if connection:ping() then 56 if connection:ping() then
57 return true; 57 return true;