Index: trunk/extensions/FlaggedRevs/specialpages/RevisionReview_body.php |
— | — | @@ -85,7 +85,9 @@ |
86 | 86 | } |
87 | 87 | # Mark as patrolled |
88 | 88 | $dbw = wfGetDB( DB_MASTER ); |
89 | | - $changed = RecentChange::markPatrolled( $this->rcid ); |
| 89 | + if( ( $rc = RecentChange::newFromId($this->rcid) ) ) { |
| 90 | + $rc->reallyMarkPatrolled(); |
| 91 | + } |
90 | 92 | # Inform the user |
91 | 93 | $wgOut->addWikiText( wfMsg( 'revreview-patrolled', $this->page->getPrefixedText() ) ); |
92 | 94 | $wgOut->returnToMain( false, SpecialPage::getTitleFor( 'Recentchanges' ) ); |