r72307 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r72306‎ | r72307 | r72308 >
Date:19:40, 3 September 2010
Author:demon
Status:ok
Tags:
Comment:
Address comment on r63710, rm unused paramters
Modified paths:
  • /trunk/phase3/includes/specials/SpecialProtectedtitles.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialProtectedtitles.php
@@ -54,7 +54,7 @@
5555
5656 $pager = new ProtectedTitlesPager( $this, array(), $type, $level, $NS, $sizetype, $size );
5757
58 - $wgOut->addHTML( $this->showOptions( $NS, $type, $level, $sizetype, $size ) );
 58+ $wgOut->addHTML( $this->showOptions( $NS, $type, $level ) );
5959
6060 if ( $pager->getNumRows() ) {
6161 $s = $pager->getNavigationBar();
@@ -109,11 +109,9 @@
110110 * @param $namespace Integer:
111111 * @param $type string
112112 * @param $level string
113 - * @param $sizetype Unused
114 - * @param $size Unused
115113 * @private
116114 */
117 - function showOptions( $namespace, $type='edit', $level, $sizetype, $size ) {
 115+ function showOptions( $namespace, $type='edit', $level ) {
118116 global $wgScript;
119117 $action = htmlspecialchars( $wgScript );
120118 $title = SpecialPage::getTitleFor( 'Protectedtitles' );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r63710Fixed some doxygen warningsialex21:09, 13 March 2010

Status & tagging log