From: Max Semenik Date: Mon, 9 May 2011 15:56:34 +0000 (+0000) Subject: Use runChild() to pass useful stuff like quiet mode X-Git-Tag: 1.31.0-rc.0~30315 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_aide%28?a=commitdiff_plain;h=6129a3c3fd03e0468da3c35bbced7c0925f0a4c1;p=lhc%2Fweb%2Fwiklou.git Use runChild() to pass useful stuff like quiet mode --- 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(); } }