Merge "Fix typo in includes/watcheditem/WatchItemStoreInterface.php"
[lhc/web/wiklou.git] / includes / installer / DatabaseUpdater.php
index 8634f89..0194822 100644 (file)
@@ -1300,7 +1300,7 @@ abstract class DatabaseUpdater {
         */
        protected function migrateActors() {
                global $wgActorTableSchemaMigrationStage;
-               if ( $wgActorTableSchemaMigrationStage >= MIGRATION_WRITE_NEW &&
+               if ( ( $wgActorTableSchemaMigrationStage & SCHEMA_COMPAT_WRITE_NEW ) &&
                        !$this->updateRowExists( 'MigrateActors' )
                ) {
                        $this->output(