r26270 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r26269‎ | r26270 | r26271 >
Date:13:06, 1 October 2007
Author:aaron
Status:old
Tags:
Comment:
*Remove var cruft
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevsPage_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevsPage_body.php
@@ -875,7 +875,7 @@
876876 $this->override = intval( $wgRequest->getBool( 'override' ) );
877877 $this->comment = $wgRequest->getVal( 'wpReason' );
878878
879 - $this->showForm( $wgRequest );
 879+ $this->showForm();
880880 # Only 0 or 1
881881 if( $this->select && ($this->select !==0 && $this->select !==1) ) {
882882 return;
@@ -898,11 +898,11 @@
899899 if( $confirm ) {
900900 $this->submit();
901901 } else {
902 - $this->showSettings( $wgRequest );
 902+ $this->showSettings();
903903 }
904904 }
905905
906 - function showForm( $wgRequest ) {
 906+ function showForm() {
907907 global $wgOut, $wgTitle, $wgScript;
908908
909909 $pageName = str_replace( '_', ' ', $this->target );

Status & tagging log