From 0d24c83ed02f21ace46e5f09cd2e667331612d62 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 30 Jul 2013 17:29:57 +0200 Subject: [PATCH] Preparing update 2.0.0 Beta 6 --- com.woltlab.wcf/files_pre_update.tar | Bin 17408 -> 0 bytes com.woltlab.wcf/package.xml | 16 +++--------- com.woltlab.wcf/update_b5.sql | 24 ------------------ wcfsetup/install/files/acp/update_b5.php | 20 --------------- .../install/files/lib/system/WCF.class.php | 2 +- 5 files changed, 4 insertions(+), 58 deletions(-) delete mode 100644 com.woltlab.wcf/files_pre_update.tar delete mode 100644 com.woltlab.wcf/update_b5.sql delete mode 100644 wcfsetup/install/files/acp/update_b5.php diff --git a/com.woltlab.wcf/files_pre_update.tar b/com.woltlab.wcf/files_pre_update.tar deleted file mode 100644 index d62904a47b8e9b2d8829428137030a4668f3e426..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 17408 zcmeHOZF3XHvgWJ!6=TXLk`r5!&07@-923BVx)@xx33V=TRV!&^ZM@pm-Cfz%N%-&Q zdAeuzMUn*x;eNP<%NToJdiuS4dRkG~@7(yxU*=Bt{{8#rhT&It;eR){ySICPZ}0Zq zyLawk@HcKmkpCWLbMUp8joz?{?SO|Lr^7yPt@}A1HYW(?shf|%q z+4=tao927-B#HANj59OBmYvi_L2id;G>Zp3D{FHN|Lq5}e4M0>!yp~l$h@`bxeO1I z={yb3#(86}+uhyS>+aq*Z<8p08T8HbN&gpF6omsDXSVVD)f@BDW|>XRa~s<0B z_}6F0@0w3vKY4Tb?A2-S`1R}4=7%i>Eo*_-G|8@CyKS0S668s9%WOP+XhuPlS+}3a z>7?n;&PL%C&KHaasfFm*A`LxHCKOi?MRVCFnD5g*diE;J@-;}cn;kHuNji+|ZR}6Z zhhcg>8M>p>+&1*lThI!AWi}c;crXdh?b|fWgMMT`4Z-dGNC@(Sc>g)H&3E6K{V?lY ze&(SzhWUiI0CsXJncKnBL;uyjqf@ZJM1X z4&`;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files_update.tar acptemplates_update.tar language/*.xml templates_update.tar - update_b5.sql - acp/update_b5.php - - acpMenu.xml - objectTypeDefinition.xml - objectType.xml - option.xml - userGroupOption.xml diff --git a/com.woltlab.wcf/update_b5.sql b/com.woltlab.wcf/update_b5.sql deleted file mode 100644 index 850ce42750..0000000000 --- a/com.woltlab.wcf/update_b5.sql +++ /dev/null @@ -1,24 +0,0 @@ -/* 83689a3 */ -ALTER TABLE wcf1_user_group_option DROP COLUMN adminDefaultValue; - -/* a16ee11 */ -DROP TABLE wcf1_user_activity_point_event; -ALTER TABLE wcf1_user_activity_point ADD items INT(10) NOT NULL DEFAULT '0'; - -/* b33c97d */ -ALTER TABLE wcf1_package_installation_queue DROP COLUMN confirmInstallation; -ALTER TABLE wcf1_package_installation_queue DROP COLUMN packageType; -ALTER TABLE wcf1_package_installation_queue ADD isApplication TINYINT(1) NOT NULL DEFAULT '0'; - -/* 221eee4 */ -ALTER TABLE wcf1_label CHANGE cssClassName cssClassName VARCHAR(255) NOT NULL DEFAULT ''; - -DROP TABLE IF EXISTS wcf1_import_mapping; -CREATE TABLE wcf1_import_mapping ( - objectTypeID INT(10) NOT NULL, - oldID VARCHAR(255) NOT NULL, - newID INT(10) NOT NULL, - UNIQUE KEY (objectTypeID, oldID) -); - -ALTER TABLE wcf1_import_mapping ADD FOREIGN KEY (objectTypeID) REFERENCES wcf1_object_type (objectTypeID) ON DELETE CASCADE; \ No newline at end of file diff --git a/wcfsetup/install/files/acp/update_b5.php b/wcfsetup/install/files/acp/update_b5.php deleted file mode 100644 index 739ba8cd3d..0000000000 --- a/wcfsetup/install/files/acp/update_b5.php +++ /dev/null @@ -1,20 +0,0 @@ -prepareStatement($sql); - -foreach (ObjectTypeCache::getInstance()->getObjectTypes('com.woltlab.wcf.user.activityPointEvent') as $objectType) { - // prevent division by zero - if (!$objectType->points) { - continue; - } - - $statement->execute(array( - $objectType->points, - $objectType->objectTypeID - )); -} diff --git a/wcfsetup/install/files/lib/system/WCF.class.php b/wcfsetup/install/files/lib/system/WCF.class.php index f1da011002..44e6bcf58e 100644 --- a/wcfsetup/install/files/lib/system/WCF.class.php +++ b/wcfsetup/install/files/lib/system/WCF.class.php @@ -35,7 +35,7 @@ if (!@ini_get('date.timezone')) { } // define current wcf version -define('WCF_VERSION', '2.0.0 Beta 5 (Maelstrom)'); +define('WCF_VERSION', '2.0.0 Beta 6 (Maelstrom)'); // define current unix timestamp define('TIME_NOW', time()); -- 2.20.1