r15512 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r15511‎ | r15512 | r15513 >
Date:19:57, 10 July 2006
Author:hashar
Status:old
Tags:
Comment:
Make Patroller:execute() compatible with SpecialPage::execute()
Modified paths:
  • /trunk/extensions/Patroller/Patroller.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Patroller/Patroller.class.php
@@ -20,8 +20,11 @@
2121 efPatrollerAddMessages( $wgMessageCache );
2222 SpecialPage::SpecialPage( 'Patrol', 'patroller' );
2323 }
24 -
25 - function execute() {
 24+
 25+ /**
 26+ * @param $par Parameters used by SpecialPage. UNUSED.
 27+ */
 28+ function execute( $par ) {
2629 global $wgUser, $wgRequest, $wgOut;
2730 $this->setHeaders();
2831
@@ -297,4 +300,4 @@
298301
299302 }
300303
301 -?>
\ No newline at end of file
 304+?>