From fd7c3f4d38bfc15c826922f550e901c7108dfec5 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Fri, 3 Sep 2010 19:40:01 +0000 Subject: [PATCH] Address comment on r63710, rm unused paramters --- includes/specials/SpecialProtectedtitles.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/includes/specials/SpecialProtectedtitles.php b/includes/specials/SpecialProtectedtitles.php index 82e2b61db1..b2166c3d5f 100644 --- a/includes/specials/SpecialProtectedtitles.php +++ b/includes/specials/SpecialProtectedtitles.php @@ -54,7 +54,7 @@ class SpecialProtectedtitles extends SpecialPage { $pager = new ProtectedTitlesPager( $this, array(), $type, $level, $NS, $sizetype, $size ); - $wgOut->addHTML( $this->showOptions( $NS, $type, $level, $sizetype, $size ) ); + $wgOut->addHTML( $this->showOptions( $NS, $type, $level ) ); if ( $pager->getNumRows() ) { $s = $pager->getNavigationBar(); @@ -109,11 +109,9 @@ class SpecialProtectedtitles extends SpecialPage { * @param $namespace Integer: * @param $type string * @param $level string - * @param $sizetype Unused - * @param $size Unused * @private */ - function showOptions( $namespace, $type='edit', $level, $sizetype, $size ) { + function showOptions( $namespace, $type='edit', $level ) { global $wgScript; $action = htmlspecialchars( $wgScript ); $title = SpecialPage::getTitleFor( 'Protectedtitles' ); -- 2.20.1