From: Aaron Schulz Date: Thu, 29 Jan 2009 04:15:47 +0000 (+0000) Subject: If an item isn't going into RC, don't send to UDP unless explicitly told to do so X-Git-Tag: 1.31.0-rc.0~43143 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=0eb7783c293bfae816a23f3678c9d1d9ecd33a83;p=lhc%2Fweb%2Fwiklou.git If an item isn't going into RC, don't send to UDP unless explicitly told to do so --- 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');