Revert "Allow event listeners to access article data during rebuild"
authorAlexander Ebert <ebert@woltlab.com>
Wed, 7 Jun 2017 14:30:17 +0000 (16:30 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 7 Jun 2017 14:30:17 +0000 (16:30 +0200)
This reverts commit f21d469eae411e81e29cc6e21119ed108ca83889.

wcfsetup/install/files/lib/system/worker/ArticleRebuildDataWorker.class.php

index 635d04b42c2e011e5faf4c6b12f0af2ce22c0a1d..1ff5749acf13d96de63611932444deea87d4d3da 100644 (file)
@@ -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);
        }
        
        /**