follow-up 104454: use list()

This commit is contained in:
Robin Pepermans 2011-12-04 13:20:26 +00:00
parent 60607e9a31
commit 97aec9cf50

View file

@ -208,8 +208,7 @@ class ContributionScores extends IncludableSpecialPage {
$wgOut->addWikiMsg( 'contributionscores-info' );
foreach ( $wgContribScoreReports as $scoreReport ) {
$days = $scoreReport[0];
$revs = $scoreReport[1];
list( $days, $revs ) = $scoreReport;
if ( $days > 0 ) {
$reportTitle = wfMsgExt( 'contributionscores-days', 'parsemag', $wgLang->formatNum( $days ) );
} else {