Don't run updateCollations if they're up-to-date
authorAryeh Gregor <simetrical@users.mediawiki.org>
Tue, 3 Aug 2010 21:07:13 +0000 (21:07 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Tue, 3 Aug 2010 21:07:13 +0000 (21:07 +0000)
I forgot a "return;" here.

maintenance/updaters.inc

index 748d46f..fc92e84 100644 (file)
@@ -1095,6 +1095,7 @@ function do_collation_update() {
                __FUNCTION__
        ) == 0 ) {
                wfOut( "...collations up-to-date.\n" );
+               return;
        }
        require_once( 'updateCollation.php' );
        $task = new UpdateCollation();