Revision: 45961
Author: aaron
Date: 2009-01-21 15:08:22 +0000 (Wed, 21 Jan 2009)
Log Message:
-----------
Fix typo in r45863; argument in wrong place
Modified Paths:
--------------
trunk/phase3/includes/PatrolLog.php
Modified: trunk/phase3/includes/PatrolLog.php
===================================================================
--- trunk/phase3/includes/PatrolLog.php 2009-01-21 15:04:46 UTC (rev 45960)
+++ trunk/phase3/includes/PatrolLog.php 2009-01-21 15:08:22 UTC (rev 45961)
@@ -22,8 +22,8 @@
}
$title = Title::makeTitleSafe( $rc->getAttribute(
'rc_namespace' ), $rc->getAttribute( 'rc_title' ) );
if( is_object( $title ) ) {
- $params = self::buildParams( $rc, $auto, $auto ?
"skipUDP" : "UDP" );
- $log = new LogPage( 'patrol', false ); # False
suppresses RC entries
+ $params = self::buildParams( $rc, $auto );
+ $log = new LogPage( 'patrol', false, $auto ? "skipUDP"
: "UDP" ); # False suppresses RC entries
$log->addEntry( 'patrol', $title, '', $params );
return true;
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs