From d098a73534139eeb4931321d51ae34197cc1fba4 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 31 May 2023 01:07:27 +0200 Subject: util.startup: Remove componentmanager backwards compatibility Module was removed in 0.8.0 in c52b06de9b27 --- util/startup.lua | 5 ----- 1 file changed, 5 deletions(-) (limited to 'util') diff --git a/util/startup.lua b/util/startup.lua index 70e03a64..1cfcaaba 100644 --- a/util/startup.lua +++ b/util/startup.lua @@ -374,11 +374,6 @@ function startup.load_secondary_libraries() 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" -- cgit v1.2.3