r23147 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23146‎ | r23147 | r23148 >
Date:22:59, 20 June 2007
Author:aaron
Status:old
Tags:
Comment:
*Add $par to execute() to avoid strict errors
Modified paths:
  • /trunk/extensions/Asksql/Asksql_body.php (modified) (history)
  • /trunk/extensions/Renameuser/SpecialRenameuser_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Renameuser/SpecialRenameuser_body.php
@@ -5,7 +5,7 @@
66 SpecialPage::SpecialPage('Renameuser', 'renameuser');
77 }
88
9 - function execute() {
 9+ function execute( $par ) {
1010 global $wgOut, $wgUser, $wgTitle, $wgRequest, $wgContLang, $wgLang;
1111 global $wgVersion, $wgMaxNameChars, $wgCapitalLinks;
1212
Index: trunk/extensions/Asksql/Asksql_body.php
@@ -18,7 +18,7 @@
1919 SpecialPage::SpecialPage("Asksql");
2020 }
2121
22 - function execute() {
 22+ function execute( $par ) {
2323 global $wgAllowSysopQueries, $wgUser, $wgRequest, $wgOut;
2424
2525 if( !$wgAllowSysopQueries ) {

Status & tagging log