Index: trunk/extensions/FlaggedRevs/presentation/FlaggedArticleView.php |
— | — | @@ -300,8 +300,7 @@ |
301 | 301 | # Treat requesting the stable version by ID as &stable=1 |
302 | 302 | } else if ( $reqId != $stableId ) { |
303 | 303 | $old = true; // old reviewed version requested by ID |
304 | | - $frev = FlaggedRevision::newFromTitle( |
305 | | - $this->article->getTitle(), $reqId, FR_TEXT ); |
| 304 | + $frev = FlaggedRevision::newFromTitle( $this->article->getTitle(), $reqId ); |
306 | 305 | if ( !$frev ) { |
307 | 306 | $reqId = false; // invalid ID given |
308 | 307 | } |
Index: trunk/extensions/FlaggedRevs/FlaggedRevsDefines.php |
— | — | @@ -6,7 +6,6 @@ |
7 | 7 | # Query SELECT parameters... |
8 | 8 | define( 'FR_FOR_UPDATE', 1 ); |
9 | 9 | define( 'FR_MASTER', 2 ); |
10 | | -define( 'FR_TEXT', 3 ); |
11 | 10 | |
12 | 11 | # Review tier constants... |
13 | 12 | define( 'FR_CHECKED', 0 ); // "basic"/"checked" |