r90032 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90031‎ | r90032 | r90033 >
Date:03:23, 14 June 2011
Author:aaron
Status:ok
Tags:
Comment:
Code style cleanup from r90024
Modified paths:
  • /trunk/extensions/FlaggedRevs/presentation/specialpages/reports/ValidationStatistics_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/presentation/specialpages/reports/ValidationStatistics_body.php
@@ -216,10 +216,9 @@
217217 }
218218
219219 protected function getLatestStats() {
220 - if ( $this->latestData !== null ) {
221 - return $this->latestData;
 220+ if ( $this->latestData === null ) {
 221+ $this->latestData = FlaggedRevsStats::getLatestStats();
222222 }
223 - $this->latestData = FlaggedRevsStats::getLatestStats();
224223 return $this->latestData;
225224 }
226225

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r90024* Moved stats storage to new table. This makes adding stats easier and allows...aaron00:30, 14 June 2011

Status & tagging log