Preparing the release 5.2.0 5.2.0
authorAlexander Ebert <ebert@woltlab.com>
Sat, 28 Dec 2019 19:29:30 +0000 (20:29 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 28 Dec 2019 19:29:30 +0000 (20:29 +0100)
com.woltlab.wcf/package.xml
wcfsetup/install/files/acp/update_com.woltlab.wcf_5.2.0_rc_2.php [deleted file]
wcfsetup/install/files/lib/system/WCF.class.php

index aebb15fb2780366d0c9aa2d40fad0eefd1e4db1f..4c72f46917b8018528bf5d1bfbb0619e89700360 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.0 RC 2</version> <!-- codename: hurricane -->
-               <date>2019-12-20</date>
+               <version>5.2.0</version> <!-- codename: hurricane -->
+               <date>2019-12-29</date>
        </packageinformation>
        
        <authorinformation>
                <instruction type="style" run="standalone">defaultStyle.tar</instruction>
        </instructions>
        
-       <instructions type="update" fromversion="5.2.0 RC 1">
+       <instructions type="update" fromversion="5.2.0 RC 2">
                <instruction type="file">files_update.tar</instruction>
-               
-               <instruction type="script">acp/update_com.woltlab.wcf_5.2.0_rc_2.php</instruction>
-               <instruction type="script">acp/update_com.woltlab.wcf_5.2_deleteRecentActivity.php</instruction>
+               <instruction type="template">templates_update.tar</instruction>
                
                <instruction type="language" />
                
-               <instruction type="bbcode" />
+               <instruction type="objectType" />
        </instructions>
 </package>
diff --git a/wcfsetup/install/files/acp/update_com.woltlab.wcf_5.2.0_rc_2.php b/wcfsetup/install/files/acp/update_com.woltlab.wcf_5.2.0_rc_2.php
deleted file mode 100644 (file)
index cc63b5c..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-use wcf\system\database\table\column\NotNullInt10DatabaseTableColumn;
-use wcf\system\database\table\DatabaseTableChangeProcessor;
-use wcf\system\database\table\PartialDatabaseTable;
-use wcf\system\package\plugin\ScriptPackageInstallationPlugin;
-use wcf\system\WCF;
-
-/**
- * @author      Alexander Ebert
- * @copyright   2001-2019 WoltLab GmbH
- * @license     GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- */
-$tables = [
-       PartialDatabaseTable::create('wcf1_media')
-               ->columns([
-                       // Incorrect column name in the upgrade 3.1 -> 5.2.0 RC 1
-                       NotNullInt10DatabaseTableColumn::create('lastDownload')
-                               ->defaultValue(0)
-                               ->drop(),
-                       NotNullInt10DatabaseTableColumn::create('lastDownloadTime')
-                               ->defaultValue(0)
-               ]),
-];
-
-(new DatabaseTableChangeProcessor(
-       /** @var ScriptPackageInstallationPlugin $this */
-       $this->installation->getPackage(),
-       $tables,
-       WCF::getDB()->getEditor())
-)->process();
index 8bb613e1a327f7698ea95ef1ca2de494803d104f..893f7d3a539337122f42b8282f4131b730fcec33 100644 (file)
@@ -49,7 +49,7 @@ if (!@ini_get('date.timezone')) {
 }
 
 // define current woltlab suite version
-define('WCF_VERSION', '5.2.0 RC 2');
+define('WCF_VERSION', '5.2.0');
 
 // define current API version
 // @deprecated 5.2