Diff

util/startup.lua @ 13119:df57c62165fc

util.startup: Remove componentmanager backwards compatibility Module was removed in 0.8.0 in c52b06de9b27
author Kim Alvefur <zash@zash.se>
date Wed, 31 May 2023 01:07:27 +0200
parent 13014:06453c564141
child 13120:be4058bb5a7e
line wrap: on
line diff
--- a/util/startup.lua	Mon May 29 01:42:31 2023 +0200
+++ b/util/startup.lua	Wed May 31 01:07:27 2023 +0200
@@ -374,11 +374,6 @@
 	require "prosody.core.usermanager"
 	require "prosody.core.rostermanager"
 	require "prosody.core.sessionmanager"
-	package.loaded['core.componentmanager'] = setmetatable({},{__index=function()
-		-- COMPAT which version?
-		log("warn", "componentmanager is deprecated: %s", debug.traceback():match("\n[^\n]*\n[ \t]*([^\n]*)"));
-		return function() end
-	end});
 
 	require "prosody.util.array"
 	require "prosody.util.datetime"