summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>2022-01-01 08:04:12 +0000
committerGerrit Code Review <gerrit@wikimedia.org>2022-01-01 08:04:12 +0000
commitd93c6da94c9bbce8929807edc2d697753b6b3e7f (patch)
tree3d5bceadd7a140e24df5a5032a62e2379a4c1b0d
parent6917ca4a7b5eba7036921645b22c9e7e9acbc894 (diff)
parent85aa34f49ea1733eaa01ee2e45f5dcb999d0493d (diff)
Merge "updater: Use ::class to refer class names"
-rw-r--r--includes/installer/DatabaseUpdater.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/installer/DatabaseUpdater.php b/includes/installer/DatabaseUpdater.php
index ff7faca5188d..8e61550517ee 100644
--- a/includes/installer/DatabaseUpdater.php
+++ b/includes/installer/DatabaseUpdater.php
@@ -1272,7 +1272,7 @@ abstract class DatabaseUpdater {
"databases, you may want to hit Ctrl-C and do this manually with\n" .
"maintenance/migrateActors.php.\n"
);
- $task = $this->maintenance->runChild( 'MigrateActors', 'migrateActors.php' );
+ $task = $this->maintenance->runChild( MigrateActors::class, 'migrateActors.php' );
$ok = $task->execute();
$this->output( $ok ? "done.\n" : "errors were encountered.\n" );
}
@@ -1306,7 +1306,7 @@ abstract class DatabaseUpdater {
}
if ( $info->isNullable() ) {
$this->output( "Populating ar_rev_id.\n" );
- $task = $this->maintenance->runChild( 'PopulateArchiveRevId', 'populateArchiveRevId.php' );
+ $task = $this->maintenance->runChild( PopulateArchiveRevId::class, 'populateArchiveRevId.php' );
if ( $task->execute() ) {
$this->applyPatch( 'patch-ar_rev_id-not-null.sql', false,
'Making ar_rev_id not nullable' );
@@ -1325,7 +1325,7 @@ abstract class DatabaseUpdater {
"databases, you may want to hit Ctrl-C and do this manually with\n" .
"maintenance/populateExternallinksIndex60.php.\n"
);
- $task = $this->maintenance->runChild( 'PopulateExternallinksIndex60',
+ $task = $this->maintenance->runChild( PopulateExternallinksIndex60::class,
'populateExternallinksIndex60.php' );
$task->execute();
$this->output( "done.\n" );