CLI worker was out-of-sync, breaking elasticsearch integration
authorAlexander Ebert <ebert@woltlab.com>
Wed, 28 Oct 2015 10:14:39 +0000 (11:14 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 28 Oct 2015 10:14:39 +0000 (11:14 +0100)
wcfsetup/install/files/lib/system/cli/command/WorkerCLICommand.class.php

index 7e437e3d4d4848310c6e8374ad7be0389c44f43a..57a4ee2a7c19da2ba6573fe7fbd098d81b0c94cf 100644 (file)
@@ -121,6 +121,7 @@ class WorkerCLICommand implements IArgumentedCLICommand {
                        
                        // execute worker
                        $worker->execute();
+                       $worker->finalize();
                        
                        // update progress
                        $progress = $worker->getProgress();