From: Alexander Ebert Date: Tue, 15 Oct 2024 13:18:26 +0000 (+0200) Subject: Merge branch '6.0' into 6.1 X-Git-Tag: 6.1.0~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f025e09c736fa58e5e4e623c924c1b9b8b39f097;p=GitHub%2FWoltLab%2Fcom.woltlab.wcf.conversation.git Merge branch '6.0' into 6.1 --- f025e09c736fa58e5e4e623c924c1b9b8b39f097 diff --cc files/lib/bootstrap/com.woltlab.wcf.conversation.php index 5882aac,a7789ed..1de510c --- a/files/lib/bootstrap/com.woltlab.wcf.conversation.php +++ b/files/lib/bootstrap/com.woltlab.wcf.conversation.php @@@ -5,12 -6,9 +5,12 @@@ use wcf\system\event\EventHandler return static function (): void { $eventHandler = EventHandler::getInstance(); - $eventHandler->register(RebuildWorkerCollecting::class, static function (RebuildWorkerCollecting $event) { - $event->register(wcf\system\worker\ConversationMessageRebuildDataWorker::class, -5); - $event->register(wcf\system\worker\ConversationRebuildDataWorker::class, 0); - $event->register(wcf\system\worker\ConversationMessageSearchIndexRebuildDataWorker::class, 300); - }); + $eventHandler->register( + \wcf\event\worker\RebuildWorkerCollecting::class, + static function (\wcf\event\worker\RebuildWorkerCollecting $event) { - $event->register(\wcf\system\worker\ConversationMessageRebuildDataWorker::class, -5); - $event->register(\wcf\system\worker\ConversationRebuildDataWorker::class, 0); - $event->register(\wcf\system\worker\ConversationMessageSearchIndexRebuildDataWorker::class, 300); ++ $event->register(wcf\system\worker\ConversationMessageRebuildDataWorker::class, -5); ++ $event->register(wcf\system\worker\ConversationRebuildDataWorker::class, 0); ++ $event->register(wcf\system\worker\ConversationMessageSearchIndexRebuildDataWorker::class, 300); + } + ); };