r48815 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48814‎ | r48815 | r48816 >
Date:13:46, 25 March 2009
Author:werdna
Status:ok
Tags:
Comment:
Fix hook not returning a value in FlaggedRevs
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php
@@ -1373,7 +1373,7 @@
13741374 }
13751375
13761376 public static function addToFileHistQuery( $file, &$tables, &$fields, &$conds, &$opts, &$join_conds ) {
1377 - if( !$file->isLocal() ) return; // local files only
 1377+ if( !$file->isLocal() ) return true; // local files only
13781378 $flaggedArticle = FlaggedArticle::getTitleInstance( $file->getTitle() );
13791379 # Non-content pages cannot be validated. Stable version must exist.
13801380 if( $flaggedArticle->isReviewable() && $flaggedArticle->getStableRev() ) {

Status & tagging log