<packagedescription><![CDATA[Free web-framework, designed and developed for complex community applications.]]></packagedescription>
<packagedescription language="de"><![CDATA[Freies Web-Framework, das für komplexe Community-Anwendungen entworfen und entwickelt wurde.]]></packagedescription>
<isapplication>1</isapplication>
- <version>2.0.0 Beta 5</version> <!-- codename: maelstrom -->
- <date>2013-07-27</date>
+ <version>2.0.0 Beta 6</version> <!-- codename: maelstrom -->
+ <date>2013-07-30</date>
</packageinformation>
<authorinformation>
<instruction type="script">acp/post_install.php</instruction>
</instructions>
- <instructions type="update" fromversion="2.0.0 Beta 4">
- <instruction type="file" run="standalone">files_pre_update.tar</instruction>
-
+ <instructions type="update" fromversion="2.0.0 Beta 5">
<instruction type="file">files_update.tar</instruction>
<instruction type="acpTemplate">acptemplates_update.tar</instruction>
<instruction type="language">language/*.xml</instruction>
<instruction type="template">templates_update.tar</instruction>
- <instruction type="sql">update_b5.sql</instruction>
- <instruction type="script">acp/update_b5.php</instruction>
-
- <instruction type="acpMenu">acpMenu.xml</instruction>
- <instruction type="objectTypeDefinition">objectTypeDefinition.xml</instruction>
- <instruction type="objectType">objectType.xml</instruction>
- <instruction type="option">option.xml</instruction>
- <instruction type="userGroupOption">userGroupOption.xml</instruction>
</instructions>
</package>
+++ /dev/null
-/* 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
+++ /dev/null
-<?php
-use wcf\data\object\type\ObjectTypeCache;
-use wcf\system\WCF;
-
-$sql = "UPDATE wcf".WCF_N."_user_activity_point
- SET items = FLOOR(activityPoints / ?)
- WHERE objectTypeID = ?";
-$statement = WCF::getDB()->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
- ));
-}
}
// 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());