util.startup: Remove componentmanager backwards compatibility

Module was removed in 0.8.0 in c52b06de9b27
This commit is contained in:
Kim Alvefur 2023-05-31 01:07:27 +02:00
parent 4d9931786d
commit d098a73534

View file

@ -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"