From: Aaron Schulz Date: Sun, 18 Jan 2009 05:17:02 +0000 (+0000) Subject: No need to send autopatrols to udp X-Git-Tag: 1.31.0-rc.0~43367 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=b84c3a17d03dc1bfa95ec4ffce36adeaf2f93801;p=lhc%2Fweb%2Fwiklou.git No need to send autopatrols to udp --- diff --git a/includes/PatrolLog.php b/includes/PatrolLog.php index b96c70361b..f260369da6 100644 --- a/includes/PatrolLog.php +++ b/includes/PatrolLog.php @@ -22,7 +22,7 @@ class PatrolLog { } $title = Title::makeTitleSafe( $rc->getAttribute( 'rc_namespace' ), $rc->getAttribute( 'rc_title' ) ); if( is_object( $title ) ) { - $params = self::buildParams( $rc, $auto ); + $params = self::buildParams( $rc, $auto, $auto ? "skipUDP" : "UDP" ); $log = new LogPage( 'patrol', false ); # False suppresses RC entries $log->addEntry( 'patrol', $title, '', $params ); return true;