From d72ca1527464034551f13f9008d1425e8211ed96 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joshua=20R=C3=BCsweg?= Date: Tue, 1 Oct 2019 23:43:18 +0200 Subject: [PATCH] Remove unused reaction parameter "containerID" This parameter is a relic from the like system and is no longer needed. Closes #3082 --- .../install/files/js/WoltLabSuite/Core/Ui/Reaction/Handler.js | 1 - .../install/files/lib/data/reaction/ReactionAction.class.php | 2 -- 2 files changed, 3 deletions(-) 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'] ]; } -- 2.20.1