r71156 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71155‎ | r71156 | r71157 >
Date:10:38, 16 August 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Fixed small issue caused by earlier refactoring
Modified paths:
  • /trunk/extensions/Deployment/specials/SpecialUpdate.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Deployment/specials/SpecialUpdate.php
@@ -59,7 +59,7 @@
6060
6161 if ( $updates === false ) {
6262 $this->showCoreStatus( false );
63 - $this->showExtensionStatuses( false );
 63+ $this->showExtensionStatuses();
6464 }
6565 else {
6666 // Check if there is a MediaWiki update.
@@ -70,8 +70,8 @@
7171 else {
7272 $this->showCoreStatus( false );
7373 }
74 -
75 - $this->showExtensionStatuses($updates );
 74+
 75+ $this->showExtensionStatuses( $updates );
7676 }
7777
7878 } else {
@@ -109,7 +109,7 @@
110110 *
111111 * @param $extensions Array: the extensions that have updates and their version numbers.
112112 */
113 - protected function showExtensionStatuses( array $extensions ) {
 113+ protected function showExtensionStatuses( array $extensions = array() ) {
114114 global $wgOut;
115115
116116 $wgOut->addHTML( '<h3>' . wfMsg( 'special-update-extensions' ) . '</h3>' );

Status & tagging log