Merge "Follow-up 7960d53: Mark when the SecondaryDataUpdates and WikiPageDeletionUpda...
[lhc/web/wiklou.git] / includes / deferred / LinksDeletionUpdate.php
index 0e24134..8bc9dfa 100644 (file)
@@ -73,7 +73,7 @@ class LinksDeletionUpdate extends LinksUpdate implements EnqueueableDataUpdate {
                        // T166757: do the update after the main job DB commit
                        DeferredUpdates::addCallableUpdate( function () use ( $title ) {
                                $cat = Category::newFromName( $title->getDBkey() );
-                               $cat->refreshCountsIfEmpty();
+                               $cat->refreshCountsIfSmall();
                        } );
                }