From: Reedy Date: Fri, 2 Mar 2018 16:24:50 +0000 (+0000) Subject: Fix undefined $ok in DatabaseUpdater::migrateComments X-Git-Tag: 1.31.0-rc.0~464^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=9a37fb8e4851d13bfb208eb886c9947a7f21571c;ds=sidebyside Fix undefined $ok in DatabaseUpdater::migrateComments Change-Id: I608a693e688039526975ef5d3fe4c40c7679ed7b --- diff --git a/includes/installer/DatabaseUpdater.php b/includes/installer/DatabaseUpdater.php index 500bc5af59..7970d5d9c8 100644 --- a/includes/installer/DatabaseUpdater.php +++ b/includes/installer/DatabaseUpdater.php @@ -1227,7 +1227,7 @@ abstract class DatabaseUpdater { "maintenance/migrateComments.php.\n" ); $task = $this->maintenance->runChild( MigrateComments::class, 'migrateComments.php' ); - $task->execute(); + $ok = $task->execute(); $this->output( $ok ? "done.\n" : "errors were encountered.\n" ); } }