From: umherirrender Date: Wed, 19 Mar 2014 18:50:51 +0000 (+0100) Subject: Remove some unneeded local vars from EditPage.php X-Git-Tag: 1.31.0-rc.0~16536^2 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=c2d4763f6f56e593658c4cb6e94a145d3f75752b;p=lhc%2Fweb%2Fwiklou.git Remove some unneeded local vars from EditPage.php Looks like a left over from refactoring in r31475 Change-Id: I6ffd2e1db8a842bebc37ce67e6265714258e79f9 --- 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 );