From 60022b883d7fca9dc8688b67d34a2dd9186d388e Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Sat, 9 Jul 2005 19:38:23 +0000 Subject: [PATCH] Dropping DISTINCT --- includes/SpecialUnusedcategories.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SpecialUnusedcategories.php b/includes/SpecialUnusedcategories.php index 9696db9baa..e777360e3e 100644 --- a/includes/SpecialUnusedcategories.php +++ b/includes/SpecialUnusedcategories.php @@ -27,7 +27,7 @@ class UnusedCategoriesPage extends QueryPage { $NScat = NS_CATEGORY; $dbr =& wfGetDB( DB_SLAVE ); extract( $dbr->tableNames( 'categorylinks','page' )); - return "SELECT DISTINCT 'Unusedcategories' as type, + return "SELECT 'Unusedcategories' as type, {$NScat} as namespace, page_title as title, 1 as value FROM $page LEFT JOIN $categorylinks ON page_title=cl_to -- 2.20.1