Diff

util/dependencies.lua @ 9560:cb92e1c8b6db

util.dependencies: Remove ztact compatability warning
author Matthew Wild <mwild1@gmail.com>
date Fri, 26 Oct 2018 19:09:02 +0100
parent 9494:b19f676203fd
child 10049:c523642ea293
child 11140:e17b98feb0b7
line wrap: on
line diff
--- a/util/dependencies.lua	Fri Oct 26 16:09:25 2018 +0100
+++ b/util/dependencies.lua	Fri Oct 26 19:09:02 2018 +0100
@@ -33,19 +33,6 @@
 	print("");
 end
 
--- COMPAT w/pre-0.8 Debian: The Debian config file used to use
--- util.ztact, which has been removed from Prosody in 0.8. This
--- is to log an error for people who still use it, so they can
--- update their configs.
-package.preload["util.ztact"] = function ()
-	if not package.loaded["core.loggingmanager"] then
-		error("util.ztact has been removed from Prosody and you need to fix your config "
-		    .."file. More information can be found at https://prosody.im/doc/packagers#ztact", 0);
-	else
-		error("module 'util.ztact' has been deprecated in Prosody 0.8.");
-	end
-end;
-
 local function check_dependencies()
 	if _VERSION < "Lua 5.1" then
 		print "***********************************"