Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php |
— | — | @@ -1373,7 +1373,7 @@ |
1374 | 1374 | } |
1375 | 1375 | |
1376 | 1376 | 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 |
1378 | 1378 | $flaggedArticle = FlaggedArticle::getTitleInstance( $file->getTitle() ); |
1379 | 1379 | # Non-content pages cannot be validated. Stable version must exist. |
1380 | 1380 | if( $flaggedArticle->isReviewable() && $flaggedArticle->getStableRev() ) { |