From 9a37fb8e4851d13bfb208eb886c9947a7f21571c Mon Sep 17 00:00:00 2001 From: Reedy Date: Fri, 2 Mar 2018 16:24:50 +0000 Subject: [PATCH] Fix undefined $ok in DatabaseUpdater::migrateComments Change-Id: I608a693e688039526975ef5d3fe4c40c7679ed7b --- includes/installer/DatabaseUpdater.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ); } } -- 2.20.1