<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.4</version> <!-- codename: maelstrom -->
- <date>2014-03-19</date>
+ <version>2.0.4 pl 1</version> <!-- codename: maelstrom -->
+ <date>2014-03-20</date>
</packageinformation>
<authorinformation>
<instruction type="script">acp/post_install.php</instruction>
</instructions>
- <instructions type="update" fromversion="2.0.3">
- <instruction type="acpTemplate">acptemplates_update.tar</instruction>
- <instruction type="file">files_update.tar</instruction>
- <instruction type="template">templates_update.tar</instruction>
- <instruction type="script">acp/update_com.woltlab.wcf_2.0.4.php</instruction>
-
- <instruction type="language">languages/*</instruction>
- <instruction type="smiley">smiley.xml</instruction>
- <instruction type="userOption">userOption.xml</instruction>
- </instructions>
-
- <instructions type="update" fromversion="2.0.3 pl 1">
- <instruction type="acpTemplate">acptemplates_update.tar</instruction>
- <instruction type="file">files_update.tar</instruction>
- <instruction type="template">templates_update.tar</instruction>
- <instruction type="script">acp/update_com.woltlab.wcf_2.0.4.php</instruction>
-
+ <instructions type="update" fromversion="2.0.4">
<instruction type="language">languages/*</instruction>
<instruction type="smiley">smiley.xml</instruction>
<instruction type="userOption">userOption.xml</instruction>
+++ /dev/null
-<?php
-use wcf\data\like\object\LikeObjectList;
-use wcf\data\object\type\ObjectTypeCache;
-use wcf\system\like\LikeHandler;
-
-/**
- * @author Matthias Schmidt
- * @copyright 2001-2014 WoltLab GmbH
- * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- * @package com.woltlab.wcf
- * @category Community Framework
- */
-// delete likes for deleted comments responses
-$likeObjectList = new LikeObjectList();
-$likeObjectList->sqlJoins = "LEFT JOIN wcf".WCF_N."_comment_response comment_response ON (comment_response.responseID = like_object.objectID)";
-$likeObjectList->getConditionBuilder()->add('like_object.objectTypeID = ?', array(ObjectTypeCache::getInstance()->getObjectTypeIDByName('com.woltlab.wcf.like.likeableObject', 'com.woltlab.wcf.comment.response')));
-$likeObjectList->getConditionBuilder()->add('comment_response.responseID IS NULL');
-$likeObjectList->readObjects();
-
-$deletedResponseIDs = array();
-foreach ($likeObjectList as $likeObject) {
- $deletedResponseIDs[] = $likeObject->objectID;
-}
-
-if (!empty($deletedResponseIDs)) {
- LikeHandler::getInstance()->removeLikes('com.woltlab.wcf.comment.response', $deletedResponseIDs);
-}