From: Platonides Date: Wed, 29 Jun 2011 21:51:27 +0000 (+0000) Subject: We don't need $skin as a local variable. X-Git-Tag: 1.31.0-rc.0~29183 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=1ddc07f845718df6411a32e7e27320b7ab23cf84;p=lhc%2Fweb%2Fwiklou.git We don't need $skin as a local variable. --- diff --git a/skins/MonoBook.php b/skins/MonoBook.php index b4c41feeb4..be6f495d54 100644 --- a/skins/MonoBook.php +++ b/skins/MonoBook.php @@ -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 {
html('userlangattributes') ?>> -cactions( $skin ); ?> +cactions( $this->skin ); ?>
msg('personaltools') ?>