From 0eb7783c293bfae816a23f3678c9d1d9ecd33a83 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 29 Jan 2009 04:15:47 +0000 Subject: [PATCH] If an item isn't going into RC, don't send to UDP unless explicitly told to do so --- includes/LogPage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/LogPage.php b/includes/LogPage.php index bd3c97464d..d8dca6eed4 100644 --- a/includes/LogPage.php +++ b/includes/LogPage.php @@ -45,9 +45,9 @@ class LogPage { * @param string $type One of '', 'block', 'protect', 'rights', 'delete', * 'upload', 'move' * @param bool $rc Whether to update recent changes as well as the logging table - * @param bool $udp Whether to send to the UDP feed if not to RC + * @param bool $udp Whether to send to the UDP feed if NOT sent to RC */ - public function __construct( $type, $rc = true, $udp = 'UDP' ) { + public function __construct( $type, $rc = true, $udp = 'skipUDP' ) { $this->type = $type; $this->updateRecentChanges = $rc; $this->sendToUDP = ($udp == 'UDP'); -- 2.20.1