From: Matthias Schmidt Date: Thu, 14 Aug 2014 19:52:15 +0000 (+0200) Subject: Set $__wcfVersion to LAST_UPDATE_TIME X-Git-Tag: 2.1.0_Alpha_1~448 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0a890357e1418e081900ace9eefcaf0d414b404a;p=GitHub%2FWoltLab%2FWCF.git Set $__wcfVersion to LAST_UPDATE_TIME --- 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 )); }