Index: trunk/phase3/includes/PatrolLog.php |
— | — | @@ -22,8 +22,8 @@ |
23 | 23 | } |
24 | 24 | $title = Title::makeTitleSafe( $rc->getAttribute( 'rc_namespace' ), $rc->getAttribute( 'rc_title' ) ); |
25 | 25 | 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 |
28 | 28 | $log->addEntry( 'patrol', $title, '', $params ); |
29 | 29 | return true; |
30 | 30 | } |