X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FCategoryFinder.php;h=2a70f5f3fd4749e534f42a6b059058d920348513;hb=f938f15bea1a27f098fc7a0f93673adba31d2efe;hp=595cf9510447cd042fd183bd69efef735bee84cb;hpb=3cb14f56bdf3271769a5866f9dcaad56bf873aea;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/CategoryFinder.php b/includes/CategoryFinder.php index 595cf95104..2a70f5f3fd 100644 --- a/includes/CategoryFinder.php +++ b/includes/CategoryFinder.php @@ -186,12 +186,11 @@ 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( /* FROM */ 'categorylinks', - /* SELECT */ '*', + /* SELECT */ [ 'cl_to', 'cl_from' ], /* WHERE */ [ 'cl_from' => $this->next ], __METHOD__ . '-1' );