Index: trunk/extensions/Deployment/specials/SpecialUpdate.php |
— | — | @@ -59,7 +59,7 @@ |
60 | 60 | |
61 | 61 | if ( $updates === false ) { |
62 | 62 | $this->showCoreStatus( false ); |
63 | | - $this->showExtensionStatuses( false ); |
| 63 | + $this->showExtensionStatuses(); |
64 | 64 | } |
65 | 65 | else { |
66 | 66 | // Check if there is a MediaWiki update. |
— | — | @@ -70,8 +70,8 @@ |
71 | 71 | else { |
72 | 72 | $this->showCoreStatus( false ); |
73 | 73 | } |
74 | | - |
75 | | - $this->showExtensionStatuses($updates ); |
| 74 | + |
| 75 | + $this->showExtensionStatuses( $updates ); |
76 | 76 | } |
77 | 77 | |
78 | 78 | } else { |
— | — | @@ -109,7 +109,7 @@ |
110 | 110 | * |
111 | 111 | * @param $extensions Array: the extensions that have updates and their version numbers. |
112 | 112 | */ |
113 | | - protected function showExtensionStatuses( array $extensions ) { |
| 113 | + protected function showExtensionStatuses( array $extensions = array() ) { |
114 | 114 | global $wgOut; |
115 | 115 | |
116 | 116 | $wgOut->addHTML( '<h3>' . wfMsg( 'special-update-extensions' ) . '</h3>' ); |