changeset 1574:7ebec464914e

mod_muc_log_http: Import old util.datamanager, fixes fetching of data if non-default storage is configured
author Kim Alvefur <zash@zash.se>
date Thu, 20 Nov 2014 15:38:56 +0100
parents 0d8cc6971cdb
children 464ed6bc5a73
files mod_muc_log_http/muc_log_http/mod_muc_log_http.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_muc_log_http/muc_log_http/mod_muc_log_http.lua	Thu Nov 20 14:48:46 2014 +0100
+++ b/mod_muc_log_http/muc_log_http/mod_muc_log_http.lua	Thu Nov 20 15:38:56 2014 +0100
@@ -9,6 +9,7 @@
 local config_get = require "core.configmanager".get;
 local urldecode = require "net.http".urldecode;
 local http_event = require "net.http.server".fire_event;
+local datamanager = require"core.storagemanager".olddm;
 local data_load, data_getpath = datamanager.load, datamanager.getpath;
 local datastore = "muc_log";
 local url_base = "muc_log";