From 7cc07a65c5ca67fc1414756fce53621908fd1c09 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Mon, 23 May 2011 17:55:26 +0000 Subject: [PATCH] Use $act instead of a second call to $this->getAction() --- includes/Wiki.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__ ); -- 2.20.1