r82756 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82755‎ | r82756 | r82757 >
Date:23:05, 24 February 2011
Author:aaron
Status:ok
Tags:
Comment:
Follow-up r82755: actually use $encCutoff
Modified paths:
  • /trunk/extensions/ReaderFeedback/ReaderFeedback.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ReaderFeedback/ReaderFeedback.class.php
@@ -95,7 +95,7 @@
9696 $row = $db->selectRow( 'reader_feedback_history',
9797 array('SUM(rfh_total)/SUM(rfh_count) AS ave, SUM(rfh_count) AS count'),
9898 array( 'rfh_page_id' => $article->getId(), 'rfh_tag' => $tag,
99 - "rfh_date >= {$cutoff_unixtime}" ),
 99+ "rfh_date >= {$encCutoff}" ),
100100 __METHOD__ );
101101 $data = $row && $row->count ?
102102 array($row->ave,$row->count) : array(0,0);

Follow-up revisions

RevisionCommit summaryAuthorDate
r85033MFT more extension revs: r82601, r82654, r82698, r82755, r82756, r82759, r829...demon18:49, 30 March 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r82755Fixed timestamp use in getAverageRatingaaron23:04, 24 February 2011

Status & tagging log