X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fincludes%2FMigrateActors.php;h=1b35a202174c5369780c06c6e75ad610be7ba217;hb=bb30a0740ea6fe2b9c0e65b7f97c9d6aff76099e;hp=aff67587b4dcd51ca2112f06764af8c3118a3704;hpb=19d5c81fba4fe2bc1b26196e684105bde3e9c43d;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/includes/MigrateActors.php b/maintenance/includes/MigrateActors.php index aff67587b4..1b35a20217 100644 --- a/maintenance/includes/MigrateActors.php +++ b/maintenance/includes/MigrateActors.php @@ -51,9 +51,9 @@ class MigrateActors extends LoggedUpdateMaintenance { } protected function doDBUpdates() { - global $wgActorTableSchemaMigrationStage; + $actorTableSchemaMigrationStage = $this->getConfig()->get( 'ActorTableSchemaMigrationStage' ); - if ( !( $wgActorTableSchemaMigrationStage & SCHEMA_COMPAT_WRITE_NEW ) ) { + if ( !( $actorTableSchemaMigrationStage & SCHEMA_COMPAT_WRITE_NEW ) ) { $this->output( "...cannot update while \$wgActorTableSchemaMigrationStage lacks SCHEMA_COMPAT_WRITE_NEW\n" );