From: Antoine Musso Date: Sat, 9 Jul 2005 19:38:23 +0000 (+0000) Subject: Dropping DISTINCT X-Git-Tag: 1.5.0beta4~185 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/supprimer.php?a=commitdiff_plain;h=60022b883d7fca9dc8688b67d34a2dd9186d388e;p=lhc%2Fweb%2Fwiklou.git Dropping DISTINCT --- 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