Add missing doUpdates() call to refreshLinks.php
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 17 May 2017 18:56:40 +0000 (11:56 -0700)
committerKrinkle <krinklemail@gmail.com>
Fri, 19 May 2017 19:09:44 +0000 (19:09 +0000)
Follows-up b8b01aa589ce which accidentally removed this call.

Bug: T157545
Change-Id: Id4efdccb60e7829269df601b83f64288f6190db4

maintenance/refreshLinks.php

index a6cd548..9f3552a 100644 (file)
@@ -278,6 +278,7 @@ class RefreshLinks extends Maintenance {
                        $page->getTitle(), /* $old = */ null, /* $recursive = */ false );
                foreach ( $updates as $update ) {
                        DeferredUpdates::addUpdate( $update );
+                       DeferredUpdates::doUpdates();
                }
        }