summaryrefslogtreecommitdiff
path: root/includes/specials/SpecialCategories.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/specials/SpecialCategories.php')
-rw-r--r--includes/specials/SpecialCategories.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/specials/SpecialCategories.php b/includes/specials/SpecialCategories.php
index 8c2ae2b6..c6e73f2b 100644
--- a/includes/specials/SpecialCategories.php
+++ b/includes/specials/SpecialCategories.php
@@ -44,7 +44,6 @@ class CategoryPager extends AlphabeticPager {
}
function getQueryInfo() {
- global $wgRequest;
return array(
'tables' => array( 'category' ),
'fields' => array( 'cat_title','cat_pages' ),
@@ -61,6 +60,7 @@ class CategoryPager extends AlphabeticPager {
function getDefaultQuery() {
parent::getDefaultQuery();
unset( $this->mDefaultQuery['from'] );
+ return $this->mDefaultQuery;
}
# protected function getOrderTypeMessages() {
# return array( 'abc' => 'special-categories-sort-abc',