Set $__wcfVersion to LAST_UPDATE_TIME
authorMatthias Schmidt <gravatronics@live.com>
Thu, 14 Aug 2014 19:52:15 +0000 (21:52 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Thu, 14 Aug 2014 19:52:15 +0000 (21:52 +0200)
wcfsetup/install/files/lib/system/WCF.class.php

index 48f29b1d7a9a3acd9dc7ae97e1d7a8283094446d..31d024eeeb45b261e64d61e0dd5eace962bfcf69 100644 (file)
@@ -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
                ));
        }