mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CategoryTree
synced 2024-11-16 04:33:11 +00:00
Another big cull on unused variables and such
This commit is contained in:
parent
a39def326d
commit
68c90be0a0
|
@ -361,8 +361,6 @@ function efCategoryTreeArticleFromTitle( $title, &$article ) {
|
||||||
function efCategoryTreeOutputPageMakeCategoryLinks( $out, &$categories, &$links ) {
|
function efCategoryTreeOutputPageMakeCategoryLinks( $out, &$categories, &$links ) {
|
||||||
global $wgCategoryTreePageCategoryOptions;
|
global $wgCategoryTreePageCategoryOptions;
|
||||||
|
|
||||||
$ct = new CategoryTree( $wgCategoryTreePageCategoryOptions );
|
|
||||||
|
|
||||||
foreach ( $categories as $category => $type ) {
|
foreach ( $categories as $category => $type ) {
|
||||||
$links[$type][] = efCategoryTreeParserHook( $category, $wgCategoryTreePageCategoryOptions, null, true );
|
$links[$type][] = efCategoryTreeParserHook( $category, $wgCategoryTreePageCategoryOptions, null, true );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue