From: Alexandre Emsenhuber Date: Mon, 23 May 2011 17:55:26 +0000 (+0000) Subject: Use $act instead of a second call to $this->getAction() X-Git-Tag: 1.31.0-rc.0~29990 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=7cc07a65c5ca67fc1414756fce53621908fd1c09;p=lhc%2Fweb%2Fwiklou.git Use $act instead of a second call to $this->getAction() --- diff --git a/includes/Wiki.php b/includes/Wiki.php index cf5856f016..07007f3edc 100644 --- a/includes/Wiki.php +++ b/includes/Wiki.php @@ -421,7 +421,7 @@ class MediaWiki { $act = $this->getAction(); - $action = Action::factory( $this->getAction(), $article ); + $action = Action::factory( $act, $article ); if( $action instanceof Action ){ $action->show(); wfProfileOut( __METHOD__ );