From: Joshua Rüsweg Date: Tue, 1 Oct 2019 21:43:18 +0000 (+0200) Subject: Remove unused reaction parameter "containerID" X-Git-Tag: 5.2.0_Beta_2~13 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d72ca1527464034551f13f9008d1425e8211ed96;p=GitHub%2FWoltLab%2FWCF.git Remove unused reaction parameter "containerID" This parameter is a relic from the like system and is no longer needed. Closes #3082 --- diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Reaction/Handler.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Reaction/Handler.js index 782f8f95fc..06510ee822 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Reaction/Handler.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Reaction/Handler.js @@ -402,7 +402,6 @@ define( */ _react: function(reactionTypeId) { this._options.parameters.reactionTypeID = reactionTypeId; - this._options.parameters.data.containerID = this._currentReactionTypeId; this._options.parameters.data.objectID = this._popoverCurrentObjectId; this._options.parameters.data.objectType = this._objectType; diff --git a/wcfsetup/install/files/lib/data/reaction/ReactionAction.class.php b/wcfsetup/install/files/lib/data/reaction/ReactionAction.class.php index 523fe88ae1..80344ed893 100644 --- a/wcfsetup/install/files/lib/data/reaction/ReactionAction.class.php +++ b/wcfsetup/install/files/lib/data/reaction/ReactionAction.class.php @@ -129,7 +129,6 @@ class ReactionAction extends AbstractDatabaseObjectAction { throw new IllegalLinkException(); } - $this->readString('containerID', false, 'data'); $this->readInteger('objectID', false, 'data'); $this->readString('objectType', false, 'data'); @@ -165,7 +164,6 @@ class ReactionAction extends AbstractDatabaseObjectAction { 'objectID' => $this->likeableObject->getObjectID(), 'objectType' => $this->parameters['data']['objectType'], 'reactionTypeID' => $reactionData['reactionTypeID'], - 'containerID' => $this->parameters['data']['containerID'], 'reputationCount' => $reactionData['cumulativeLikes'] ]; }