# HG changeset patch # User Kim Alvefur # Date 1538072175 -7200 # Node ID 1e1dbd7e5b6c6aaa130be03474e884107091f635 # Parent 6081cbfd1220841d312e7fb01376591ca9870390 mod_http_upload: Use legacy datamanager directly (makes it work) diff -r 6081cbfd1220 -r 1e1dbd7e5b6c mod_http_upload/mod_http_upload.lua --- a/mod_http_upload/mod_http_upload.lua Thu Sep 27 20:03:10 2018 +0200 +++ b/mod_http_upload/mod_http_upload.lua Thu Sep 27 20:16:15 2018 +0200 @@ -326,6 +326,7 @@ module:log("info", "URL: <%s>; Storage path: %s", module:http_url(), storage_path); function module.command(args) + datamanager = require "core.storagemanager".olddm; -- luacheck: ignore 421/user if args[1] == "expire" then local split = require "util.jid".prepped_split;