X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FCategoryFinder.php;h=89bf5c7327058dd3bfd643d5b8ed5f82642aa7d7;hb=fb4821adfc3ab95d9c5c0be1162139f99bfebf6c;hp=504b35f885d9c6a674a6a56fdefa4bc42963a87f;hpb=9aba586d3b758719d9aa08b236a9de93956b6a96;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/CategoryFinder.php b/includes/CategoryFinder.php index 504b35f885..89bf5c7327 100644 --- a/includes/CategoryFinder.php +++ b/includes/CategoryFinder.php @@ -20,6 +20,8 @@ * @file */ +use Wikimedia\Rdbms\IDatabase; + /** * The "CategoryFinder" class takes a list of articles, creates an internal * representation of all their parent categories (as well as parents of @@ -184,7 +186,6 @@ class CategoryFinder { * Scans a "parent layer" of the articles/categories in $this->next */ private function scanNextLayer() { - # Find all parents of the article currently in $this->next $layer = []; $res = $this->dbr->select(