r88661 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r88660‎ | r88661 | r88662 >
Date:17:55, 23 May 2011
Author:ialex
Status:ok
Tags:
Comment:
Use $act instead of a second call to $this->getAction()
Modified paths:
  • /trunk/phase3/includes/Wiki.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Wiki.php
@@ -421,7 +421,7 @@
422422
423423 $act = $this->getAction();
424424
425 - $action = Action::factory( $this->getAction(), $article );
 425+ $action = Action::factory( $act, $article );
426426 if( $action instanceof Action ){
427427 $action->show();
428428 wfProfileOut( __METHOD__ );

Status & tagging log