We don't need $skin as a local variable.
authorPlatonides <platonides@users.mediawiki.org>
Wed, 29 Jun 2011 21:51:27 +0000 (21:51 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Wed, 29 Jun 2011 21:51:27 +0000 (21:51 +0000)
skins/MonoBook.php

index b4c41fe..be6f495 100644 (file)
@@ -70,7 +70,7 @@ class MonoBookTemplate extends BaseTemplate {
         * @access private
         */
        function execute() {
-               $this->skin = $skin = $this->data['skin'];
+               $this->skin = $this->data['skin'];
 
                // Suppress warnings to prevent notices about missing indexes in $this->data
                wfSuppressWarnings();
@@ -103,7 +103,7 @@ class MonoBookTemplate extends BaseTemplate {
        </div>
 </div></div>
 <div id="column-one"<?php $this->html('userlangattributes')  ?>>
-<?php $this->cactions( $skin ); ?>
+<?php $this->cactions( $this->skin ); ?>
        <div class="portlet" id="p-personal">
                <h5><?php $this->msg('personaltools') ?></h5>
                <div class="pBody">