mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CategoryTree
synced 2024-11-27 17:51:00 +00:00
CategoryTreeHooks: Move call that is independent of a loop
Change-Id: I0901aad1581a2b679bcb68b3c7a733f9db9be81c
This commit is contained in:
parent
4487aa860b
commit
7dbedfde4d
|
@ -245,8 +245,8 @@ class CategoryTreeHooks {
|
|||
|
||||
foreach ( $categories as $category => $type ) {
|
||||
$links[$type][] = self::parserHook( $category, $wgCategoryTreePageCategoryOptions, null, null, true );
|
||||
CategoryTree::setHeaders( $out );
|
||||
}
|
||||
CategoryTree::setHeaders( $out );
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue