summaryrefslogtreecommitdiff
path: root/includes/specials/SpecialSpecialpages.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/specials/SpecialSpecialpages.php')
-rw-r--r--includes/specials/SpecialSpecialpages.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/specials/SpecialSpecialpages.php b/includes/specials/SpecialSpecialpages.php
index 13bc4c2b..e973ddc8 100644
--- a/includes/specials/SpecialSpecialpages.php
+++ b/includes/specials/SpecialSpecialpages.php
@@ -51,7 +51,7 @@ class SpecialSpecialpages extends UnlistedSpecialPage {
private function getPageGroups() {
global $wgSortSpecialPages;
- $pages = SpecialPageFactory::getUsablePages();
+ $pages = SpecialPageFactory::getUsablePages( $this->getUser() );
if( !count( $pages ) ) {
# Yeah, that was pointless. Thanks for coming.