From 6129a3c3fd03e0468da3c35bbced7c0925f0a4c1 Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Mon, 9 May 2011 15:56:34 +0000 Subject: [PATCH] Use runChild() to pass useful stuff like quiet mode --- includes/installer/DatabaseUpdater.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/installer/DatabaseUpdater.php b/includes/installer/DatabaseUpdater.php index 6d50b92f69..fa4d74a5b5 100644 --- a/includes/installer/DatabaseUpdater.php +++ b/includes/installer/DatabaseUpdater.php @@ -524,7 +524,7 @@ abstract class DatabaseUpdater { "Populating log_user_text field, printing progress markers. For large\n" . "databases, you may want to hit Ctrl-C and do this manually with\n" . "maintenance/populateLogUsertext.php.\n" ); - $task = new PopulateLogUsertext(); + $task = $this->maintenance->runChild( 'PopulateLogUsertext' ); $task->execute(); $this->output( "Done populating log_user_text field.\n" ); } @@ -539,7 +539,7 @@ abstract class DatabaseUpdater { "Populating log_search table, printing progress markers. For large\n" . "databases, you may want to hit Ctrl-C and do this manually with\n" . "maintenance/populateLogSearch.php.\n" ); - $task = new PopulateLogSearch(); + $task = $this->maintenance->runChild( 'PopulateLogSearch' ); $task->execute(); $this->output( "Done populating log_search table.\n" ); } @@ -567,7 +567,7 @@ abstract class DatabaseUpdater { return; } - $task = new UpdateCollation(); + $task = $this->maintenance->runChild( 'UpdateCollation' ); $task->execute(); } } -- 2.20.1