ActorMigration: Remove possibility of read-both
[lhc/web/wiklou.git] / tests / parser / ParserTestRunner.php
index cc3ef1c..1f3183f 100644 (file)
@@ -1233,7 +1233,7 @@ class ParserTestRunner {
                        $tables[] = 'image_comment_temp';
                }
 
-               if ( $wgActorTableSchemaMigrationStage >= MIGRATION_WRITE_BOTH ) {
+               if ( $wgActorTableSchemaMigrationStage & SCHEMA_COMPAT_WRITE_NEW ) {
                        // The new tables for actors are in use
                        $tables[] = 'actor';
                        $tables[] = 'revision_actor_temp';