From 0a890357e1418e081900ace9eefcaf0d414b404a Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Thu, 14 Aug 2014 21:52:15 +0200 Subject: [PATCH] Set $__wcfVersion to LAST_UPDATE_TIME --- wcfsetup/install/files/lib/system/WCF.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/WCF.class.php b/wcfsetup/install/files/lib/system/WCF.class.php index 48f29b1d7a..31d024eeeb 100644 --- a/wcfsetup/install/files/lib/system/WCF.class.php +++ b/wcfsetup/install/files/lib/system/WCF.class.php @@ -568,7 +568,7 @@ class WCF { self::getTPL()->registerPrefilter(array('event', 'hascontent', 'lang')); self::getTPL()->assign(array( '__wcf' => $this, - '__wcfVersion' => mb_substr(sha1(WCF_VERSION), 0, 8) // @deprecated since 2.1, use LAST_UPDATE_TIME + '__wcfVersion' => LAST_UPDATE_TIME // @deprecated since 2.1, use LAST_UPDATE_TIME directly )); } -- 2.20.1