r108165 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108164‎ | r108165 | r108166 >
Date:19:02, 5 January 2012
Author:aaron
Status:ok
Tags:
Comment:
Backported a bit from r98484 to avoid a PHP notice in some cases
Modified paths:
  • /branches/REL1_18/extensions/FlaggedRevs/dataclasses/FlaggedRevsStats.php (modified) (history)

Diff [purge]

Index: branches/REL1_18/extensions/FlaggedRevs/dataclasses/FlaggedRevsStats.php
@@ -327,8 +327,8 @@
328328 $secondsR = 0; // total wait seconds for edits later reviewed
329329 $secondsP = 0; // total wait seconds for edits still pending
330330 $aveRT = $medianRT = 0;
 331+ $times = array();
331332 if ( $dbr->numRows( $res ) ) {
332 - $times = array();
333333 # Get the elapsed times revs were pending (flagged time - edit time)
334334 foreach ( $res as $row ) {
335335 $time = wfTimestamp(TS_UNIX,$row->nft) - wfTimestamp(TS_UNIX,$row->rt);

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r98484Made PHPStorm happieraaron22:53, 29 September 2011

Status & tagging log