X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FCategoryViewer.php;h=4202249578a5aa256558e91c92af79e7d7c7faeb;hb=45258656abbc48d0a5b2ab0caee94085d2ae7c68;hp=f36c75800b924628d2cd8d829a13e476044448a8;hpb=2203824244172f3a1136ad174ee4891e9956968f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/CategoryViewer.php b/includes/CategoryViewer.php index f36c75800b..4202249578 100644 --- a/includes/CategoryViewer.php +++ b/includes/CategoryViewer.php @@ -735,11 +735,7 @@ class CategoryViewer extends ContextSource { $totalcnt = $dbcnt; } elseif ( $rescnt < $this->limit && !$fromOrUntil ) { // Case 2: not sane, but salvageable. Use the number of results. - // Since there are fewer than 200, we can also take this opportunity - // to refresh the incorrect category table entry -- which should be - // quick due to the small number of entries. $totalcnt = $rescnt; - DeferredUpdates::addCallableUpdate( [ $this->cat, 'refreshCounts' ] ); } else { // Case 3: hopeless. Don't give a total count at all. // Messages: category-subcat-count-limited, category-article-count-limited,