diff options
author | Matthew Wild <mwild1@gmail.com> | 2011-01-11 06:18:24 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2011-01-11 06:18:24 +0000 |
commit | fe53d96e7d4575d7c629f3679fae5edc48b7526b (patch) | |
tree | a946623a2ebc53208cfe3fa8004179f0350c2d3a /core/storagemanager.lua | |
parent | 42e80ba8932b6c830845c0e5f01539740975f86c (diff) | |
download | prosody-fe53d96e7d4575d7c629f3679fae5edc48b7526b.tar.gz prosody-fe53d96e7d4575d7c629f3679fae5edc48b7526b.zip |
storagemanager: Export load_driver() function so it can be used from e.g. migrators
Diffstat (limited to 'core/storagemanager.lua')
-rw-r--r-- | core/storagemanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/storagemanager.lua b/core/storagemanager.lua index e44f3e2c..c96ef3ec 100644 --- a/core/storagemanager.lua +++ b/core/storagemanager.lua @@ -45,7 +45,7 @@ function initialize_host(host) end prosody.events.add_handler("host-activated", initialize_host, 101); -local function load_driver(host, driver_name) +function load_driver(host, driver_name) if driver_name == "null" then return null_storage_provider; end |