From 2023bc185c095056d25918934e90f3d464cad029 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 22 Dec 2017 11:47:54 +0100 Subject: [PATCH] Preparing release 3.1.0 Beta 5 --- com.woltlab.wcf/package.xml | 12 ++--- com.woltlab.wcf/update_3.1.0_beta_4.sql | 1 - ...com.woltlab.wcf_3.1.0_beta_4_addColumn.php | 48 ------------------- .../install/files/lib/system/WCF.class.php | 2 +- 4 files changed, 4 insertions(+), 59 deletions(-) delete mode 100644 com.woltlab.wcf/update_3.1.0_beta_4.sql delete mode 100644 wcfsetup/install/files/acp/update_com.woltlab.wcf_3.1.0_beta_4_addColumn.php diff --git a/com.woltlab.wcf/package.xml b/com.woltlab.wcf/package.xml index 95710f51110..9b7b0634c43 100644 --- a/com.woltlab.wcf/package.xml +++ b/com.woltlab.wcf/package.xml @@ -5,8 +5,8 @@ Free CMS and web-framework, designed for awesome websites and communities. Freies CMS und Web-Framework, das eindrucksvolle Websites und Communities ermöglicht. 1 - 3.1.0 Beta 4 - 2017-12-11 + 3.1.0 Beta 5 + 2017-12-22 @@ -48,19 +48,13 @@ acp/post_install.php - + acptemplates_update.tar files_update.tar templates_update.tar - update_3.1.0_beta_4.sql - acp/update_com.woltlab.wcf_3.1.0_beta_4_addColumn.php - - - - diff --git a/com.woltlab.wcf/update_3.1.0_beta_4.sql b/com.woltlab.wcf/update_3.1.0_beta_4.sql deleted file mode 100644 index aa2ff37d3e6..00000000000 --- a/com.woltlab.wcf/update_3.1.0_beta_4.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE wcf1_style ADD coverPhotoExtension VARCHAR(4) NOT NULL DEFAULT ''; diff --git a/wcfsetup/install/files/acp/update_com.woltlab.wcf_3.1.0_beta_4_addColumn.php b/wcfsetup/install/files/acp/update_com.woltlab.wcf_3.1.0_beta_4_addColumn.php deleted file mode 100644 index e0476e16dad..00000000000 --- a/wcfsetup/install/files/acp/update_com.woltlab.wcf_3.1.0_beta_4_addColumn.php +++ /dev/null @@ -1,48 +0,0 @@ - - * @package WoltLabSuite\Core - */ -$data = <<getVar('__wcfUpdateAddColumns'); -if ($rebuildData === null) { - $rebuildData = [ - 'i' => 0, - 'max' => count($lines) - ]; -} - -// MySQL adds a column by creating a new table in the -// background and copying over all the data afterwards. -// -// Using a single `ALTER TABLE` to add multiple columns -// results in the same runtime, because copying the table -// is what actually takes ages. -$statement = WCF::getDB()->prepareStatement(str_replace('wcf1_', 'wcf'.WCF_N.'_', $lines[$rebuildData['i']])); -$statement->execute(); - -$rebuildData['i']++; - -if ($rebuildData['i'] === $rebuildData['max']) { - WCF::getSession()->unregister('__wcfUpdateAddColumns'); -} -else { - WCF::getSession()->register('__wcfUpdateAddColumns', $rebuildData); - - // call this script again - throw new SplitNodeException(); -} diff --git a/wcfsetup/install/files/lib/system/WCF.class.php b/wcfsetup/install/files/lib/system/WCF.class.php index c4972844b09..66721f6a9fb 100644 --- a/wcfsetup/install/files/lib/system/WCF.class.php +++ b/wcfsetup/install/files/lib/system/WCF.class.php @@ -48,7 +48,7 @@ } // define current woltlab suite version -define('WCF_VERSION', '3.1.0 Beta 4'); +define('WCF_VERSION', '3.1.0 Beta 5'); // define current API version define('WSC_API_VERSION', 2018);