From 7f6685419f22b5a950a3b8169e0d840db0d3bf79 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 7 Jun 2017 16:30:17 +0200 Subject: [PATCH] Revert "Allow event listeners to access article data during rebuild" This reverts commit f21d469eae411e81e29cc6e21119ed108ca83889. --- .../lib/system/worker/ArticleRebuildDataWorker.class.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/wcfsetup/install/files/lib/system/worker/ArticleRebuildDataWorker.class.php b/wcfsetup/install/files/lib/system/worker/ArticleRebuildDataWorker.class.php index 635d04b42c..1ff5749acf 100644 --- a/wcfsetup/install/files/lib/system/worker/ArticleRebuildDataWorker.class.php +++ b/wcfsetup/install/files/lib/system/worker/ArticleRebuildDataWorker.class.php @@ -6,7 +6,6 @@ use wcf\data\article\ArticleEditor; use wcf\data\article\ArticleList; use wcf\data\object\type\ObjectTypeCache; use wcf\system\database\util\PreparedStatementConditionBuilder; -use wcf\system\event\EventHandler; use wcf\system\html\input\HtmlInputProcessor; use wcf\system\message\embedded\object\MessageEmbeddedObjectManager; use wcf\system\search\SearchIndexManager; @@ -135,12 +134,6 @@ class ArticleRebuildDataWorker extends AbstractRebuildDataWorker { // update data $editor->update($data); } - - $parameters = [ - 'articleContentList' => $articleContentList, - 'objectList' => $this->objectList - ]; - EventHandler::getInstance()->fireAction($this, 'afterExecute', $parameters); } /** -- 2.20.1