r59752 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59751‎ | r59752 | r59753 >
Date:03:16, 5 December 2009
Author:tomasz
Status:ok
Tags:
Comment:
Removing unnecessary line due to r59751
Modified paths:
  • /trunk/extensions/ContributionReporting/ContributionStatistics_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ContributionReporting/ContributionStatistics_body.php
@@ -415,7 +415,6 @@
416416 $totals['USD'][1] += $totals[null][1];
417417 $totals['USD'][2] += $totals[null][2];
418418 $totals['USD'][3] = ( $totals[null][3] == 0 ) ? $totals['USD'][3] : ( $totals['USD'][3] + $totals[null][3] ) / 2;
419 - $totals['USD'][3] = ( $totals['USD'][3] + $totals[null][3] ) / 2;
420419 $totals['USD'][4] = max( $totals['USD'][4], $totals[null][4] );
421420 /* $totals['USD'][5] = min( $totals['USD'][5], $totals[null][5] ); */
422421 unset( $totals[null] );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r59751Bugfix where zero value in amount caused unnecessary divisiontomasz03:15, 5 December 2009

Status & tagging log