changeset 13921:33755e085ca5

Merge 13.0->trunk
author Kim Alvefur <zash@zash.se>
date Sun, 03 Aug 2025 15:21:56 +0200
parents 6ad72bd9a7ec (current diff) 2169be3581ae (diff)
children 52cf3ec248a9
files
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tools/migration/prosody-migrator.lua	Sun Jul 27 01:11:58 2025 +0200
+++ b/tools/migration/prosody-migrator.lua	Sun Aug 03 15:21:56 2025 +0200
@@ -149,6 +149,7 @@
 
 local cm = require "prosody.core.configmanager";
 local hm = require "prosody.core.hostmanager";
+local mm = require "prosody.core.modulemanager";
 local sm = require "prosody.core.storagemanager";
 local um = require "prosody.core.usermanager";
 
@@ -177,6 +178,7 @@
 
 local function get_driver(host, conf)
 	prepare_config(host, conf);
+	mm.unload(host, "storage_" .. conf.type);
 	return assert(sm.load_driver(host, conf.type));
 end