Merge branch '6.0' into 6.1
authorAlexander Ebert <ebert@woltlab.com>
Tue, 15 Oct 2024 13:18:26 +0000 (15:18 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 15 Oct 2024 13:18:26 +0000 (15:18 +0200)
1  2 
files/lib/bootstrap/com.woltlab.wcf.conversation.php
package-lock.json

index 5882aacf687b3ef79b3944cba0158f7adffbee20,a7789ed8a364ae9e3a768c1ebc19883db54c1874..1de510c8c01f24fbf42dfa0ef428efb148aa7796
@@@ -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);
 +        }
 +    );
  };
Simple merge