r45961 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45960‎ | r45961 | r45962 >
Date:15:08, 21 January 2009
Author:aaron
Status:ok
Tags:
Comment:
Fix typo in r45863; argument in wrong place
Modified paths:
  • /trunk/phase3/includes/PatrolLog.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/PatrolLog.php
@@ -22,8 +22,8 @@
2323 }
2424 $title = Title::makeTitleSafe( $rc->getAttribute( 'rc_namespace' ), $rc->getAttribute( 'rc_title' ) );
2525 if( is_object( $title ) ) {
26 - $params = self::buildParams( $rc, $auto, $auto ? "skipUDP" : "UDP" );
27 - $log = new LogPage( 'patrol', false ); # False suppresses RC entries
 26+ $params = self::buildParams( $rc, $auto );
 27+ $log = new LogPage( 'patrol', false, $auto ? "skipUDP" : "UDP" ); # False suppresses RC entries
2828 $log->addEntry( 'patrol', $title, '', $params );
2929 return true;
3030 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r45863No need to send autopatrols to udpaaron05:17, 18 January 2009

Status & tagging log