r44552 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r44551‎ | r44552 | r44553 >
Date:23:58, 13 December 2008
Author:aaron
Status:deferred
Tags:
Comment:
Fix for bug 16375. RC interfaces were refactored a while a back and broke this. Use the more direct functions.
Modified paths:
  • /trunk/extensions/FlaggedRevs/specialpages/RevisionReview_body.php (modified) (history)

Diff [purge]

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

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r43650(bug 16375) 'FlaggedRevs blocks/disables Patroller Extension' fixedaaron22:42, 17 November 2008

Status & tagging log