Changeset

9560:cb92e1c8b6db

util.dependencies: Remove ztact compatability warning
author Matthew Wild <mwild1@gmail.com>
date Fri, 26 Oct 2018 19:09:02 +0100
parents 9559:7c65e3f38e6e
children 9561:cfc7b2f7251e
files util/dependencies.lua
diffstat 1 files changed, 0 insertions(+), 13 deletions(-) [+]
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 "***********************************"