From: Tim Düsterhus Date: Fri, 5 Aug 2022 07:46:47 +0000 (+0200) Subject: Remove __wcfVersion template variable X-Git-Tag: 6.0.0_Alpha_1~1073^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=aa521977294d8cd28a6b3ab1f75572f24f2fa246;p=GitHub%2FWoltLab%2FWCF.git Remove __wcfVersion template variable This one is long-deprecated, breaks very obviously and is trivially replaced. --- 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');