From c2d4763f6f56e593658c4cb6e94a145d3f75752b Mon Sep 17 00:00:00 2001 From: umherirrender Date: Wed, 19 Mar 2014 19:50:51 +0100 Subject: [PATCH] Remove some unneeded local vars from EditPage.php Looks like a left over from refactoring in r31475 Change-Id: I6ffd2e1db8a842bebc37ce67e6265714258e79f9 --- includes/EditPage.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index 5f5cb53936..725ee10e71 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -3446,16 +3446,16 @@ HTML } $params = array( - $image = $wgStylePath . '/common/images/' . $tool['image'], + $wgStylePath . '/common/images/' . $tool['image'], // Note that we use the tip both for the ALT tag and the TITLE tag of the image. // Older browsers show a "speedtip" type message only for ALT. // Ideally these should be different, realistically they // probably don't need to be. - $tip = $tool['tip'], - $open = $tool['open'], - $close = $tool['close'], - $sample = $tool['sample'], - $cssId = $tool['id'], + $tool['tip'], + $tool['open'], + $tool['close'], + $tool['sample'], + $tool['id'], ); $script .= Xml::encodeJsCall( 'mw.toolbar.addButton', $params ); -- 2.20.1