From aa521977294d8cd28a6b3ab1f75572f24f2fa246 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 5 Aug 2022 09:46:47 +0200 Subject: [PATCH] Remove __wcfVersion template variable This one is long-deprecated, breaks very obviously and is trivially replaced. --- wcfsetup/install/files/lib/system/WCF.class.php | 1 - 1 file changed, 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/WCF.class.php b/wcfsetup/install/files/lib/system/WCF.class.php index 9257137b79..6ea10c88d2 100644 --- a/wcfsetup/install/files/lib/system/WCF.class.php +++ b/wcfsetup/install/files/lib/system/WCF.class.php @@ -789,7 +789,6 @@ class WCF self::getTPL()->registerPrefilter(['event', 'hascontent', 'lang', 'jslang', 'csrfToken']); self::getTPL()->assign([ '__wcf' => $wcf, - '__wcfVersion' => LAST_UPDATE_TIME, // @deprecated 2.1, use LAST_UPDATE_TIME directly ]); $isAjax = isset($_SERVER['HTTP_X_REQUESTED_WITH']) && ($_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest'); -- 2.20.1