r21603 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r21602‎ | r21603 | r21604 >
Date:02:24, 26 April 2007
Author:aaron
Status:old
Tags:
Comment:
*fr_quality can be greater than 1
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php
@@ -787,7 +787,7 @@
788788 $result = $dbr->select(
789789 array('flaggedrevs', 'revision'),
790790 array('fr_rev_id', 'fr_user', 'fr_timestamp', 'fr_comment', 'rev_timestamp'),
791 - array('fr_page_id' => $article->getId(), 'fr_rev_id = rev_id', 'fr_quality=1', 'rev_deleted=0'),
 791+ array('fr_page_id' => $article->getId(), 'fr_rev_id = rev_id', 'fr_quality >= 1', 'rev_deleted=0'),
792792 __METHOD__,
793793 array('ORDER BY' => 'fr_rev_id DESC', 'LIMIT' => 1 ) );
794794 // Do we have one?
@@ -989,10 +989,8 @@
990990 '</strong></small></tt>';
991991 }
992992 }
993 - }
 993+ }
994994
995 -
996 -
997995 }
998996
999997 $flaggedrevs = new FlaggedRevs();