r86258 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86257‎ | r86258 | r86259 >
Date:12:44, 17 April 2011
Author:ialex
Status:deferred
Tags:
Comment:
$wgTitle -> $this->getTitle()
Modified paths:
  • /trunk/extensions/PasswordReset/PasswordReset_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/PasswordReset/PasswordReset_body.php
@@ -18,7 +18,7 @@
1919 }
2020
2121 function execute( $par ) {
22 - global $wgRequest, $wgOut, $wgUser, $wgTitle;
 22+ global $wgRequest, $wgOut, $wgUser;
2323
2424 $this->setHeaders();
2525
@@ -94,7 +94,7 @@
9595 return true;
9696 }
9797 </script>" .
98 - Xml::openElement( 'form', array( 'method' => 'post', 'action' => $wgTitle->getLocalUrl(), 'id' => 'passwordresetform' ) ) .
 98+ Xml::openElement( 'form', array( 'method' => 'post', 'action' => $this->getTitle()->getLocalUrl(), 'id' => 'passwordresetform' ) ) .
9999 Xml::openElement( 'table', array( 'id' => 'mw-passwordreset-table' ) ) .
100100 "<tr>
101101 <td class='mw-label'>" .

Status & tagging log