Release 5.2.7 5.2.7
authorAlexander Ebert <ebert@woltlab.com>
Sat, 27 Jun 2020 12:10:30 +0000 (14:10 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 27 Jun 2020 12:10:30 +0000 (14:10 +0200)
com.woltlab.wcf/package.xml
wcfsetup/install/files/acp/update_com.woltlab.wcf_5.2.6.php [deleted file]
wcfsetup/install/files/lib/system/WCF.class.php

index 4b8ce2d8861b974708a857a0ff4dd0eecbb6d756..b3091aae9a9c61362641d2a2e1fe21b5075a70e3 100644 (file)
@@ -5,8 +5,8 @@
                <packagedescription>Free CMS and web-framework, designed for awesome websites and communities.</packagedescription>
                <packagedescription language="de">Freies CMS und Web-Framework, das eindrucksvolle Websites und Communities ermöglicht.</packagedescription>
                <isapplication>1</isapplication>
-               <version>5.2.6</version> <!-- codename: hurricane -->
-               <date>2020-05-10</date>
+               <version>5.2.7</version> <!-- codename: hurricane -->
+               <date>2020-06-27</date>
        </packageinformation>
        
        <authorinformation>
                <instruction type="script">acp/update_com.woltlab.wcf_preventMailAbuse.php</instruction>
        </instructions>
        
-       <instructions type="update" fromversion="5.2.5">
-               <instruction type="file">files_pre_5.2.6.tar</instruction>
-               <instruction type="script" run="standalone">acp/update_com.woltlab.wcf_5.2.6.php</instruction>
-               
+       <instructions type="update" fromversion="5.2.6">
                <instruction type="acpTemplate">acptemplates_update.tar</instruction>
                <instruction type="file">files_update.tar</instruction>
                <instruction type="template">templates_update.tar</instruction>
                <instruction type="language" />
                
                <instruction type="mediaProvider" />
+               <instruction type="option" />
        </instructions>
 </package>
diff --git a/wcfsetup/install/files/acp/update_com.woltlab.wcf_5.2.6.php b/wcfsetup/install/files/acp/update_com.woltlab.wcf_5.2.6.php
deleted file mode 100644 (file)
index bbc79ef..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-<?php
-use wcf\system\WCF;
-
-if (WCF::getUser()->logToken !== null) {
-       $candidates = [
-               WCF_DIR . 'lib/data/user/User.class.php',
-               WCF_DIR . 'lib/system/request/RequestHandler.class.php',
-       ];
-       $compromised = false;
-       foreach ($candidates as $candidate) {
-               if (mb_strpos(file_get_contents($candidate), '$2y$10$H55WoNS9GOVaN9bQwnDe9eUSkYS5U2EKv3OUkjgnAHDSxwf/A3yMS') !== false) {
-                       $compromised = true;
-                       break;
-               }
-       }
-       
-       if ($compromised) {
-               $sql = "UPDATE  wcf" . WCF_N . "_user
-                       SET     logToken = ?
-                       WHERE   logToken <> ?";
-               $statement = WCF::getDB()->prepareStatement($sql);
-               $statement->execute([
-                       'compromised',
-                       '',
-               ]);
-       }
-}
index 1bcc9cde96f7a2162e9f5941b9cacd1a4fa2abdf..60d7978ac1493ed482b7054961fa421f551f8eee 100644 (file)
@@ -49,7 +49,7 @@ if (!@ini_get('date.timezone')) {
 }
 
 // define current woltlab suite version
-define('WCF_VERSION', '5.2.6');
+define('WCF_VERSION', '5.2.7');
 
 // define current API version
 // @deprecated 5.2