From 68c90be0a0fdc74a15f98c3e40d644def47cca8f Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Fri, 29 Oct 2010 21:55:29 +0000 Subject: [PATCH] Another big cull on unused variables and such --- CategoryTree.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/CategoryTree.php b/CategoryTree.php index a6bab81f..aaa77b83 100644 --- a/CategoryTree.php +++ b/CategoryTree.php @@ -361,8 +361,6 @@ function efCategoryTreeArticleFromTitle( $title, &$article ) { function efCategoryTreeOutputPageMakeCategoryLinks( $out, &$categories, &$links ) { global $wgCategoryTreePageCategoryOptions; - $ct = new CategoryTree( $wgCategoryTreePageCategoryOptions ); - foreach ( $categories as $category => $type ) { $links[$type][] = efCategoryTreeParserHook( $category, $wgCategoryTreePageCategoryOptions, null, true ); }