core/stanza_router.lua
changeset 9530 ced174f29d9a
parent 9073 21730a3642fe
child 10108 3965081809ba
--- a/core/stanza_router.lua	Sun Oct 21 14:33:26 2018 +0200
+++ b/core/stanza_router.lua	Sun Oct 21 14:45:22 2018 +0200
@@ -19,16 +19,6 @@
 
 local core_post_stanza, core_process_stanza, core_route_stanza;
 
-local function deprecated_warning(f)
-	_G[f] = function(...)
-		log("warn", "Using the global %s() is deprecated, use module:send() or prosody.%s(). %s", f, f, debug.traceback());
-		return prosody[f](...);
-	end
-end
-deprecated_warning"core_post_stanza";
-deprecated_warning"core_process_stanza";
-deprecated_warning"core_route_stanza";
-
 local valid_stanzas = { message = true, presence = true, iq = true };
 local function handle_unhandled_stanza(host, origin, stanza) --luacheck: ignore 212/host
 	local name, xmlns, origin_type = stanza.name, stanza.attr.xmlns or "jabber:client", origin.type;