From 8f8509dba15c85f210d3a0b4f162b2df3dcba9d3 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 14 Jan 2009 18:10:03 +0000 Subject: [PATCH] Tweak $udp param --- includes/LogPage.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/LogPage.php b/includes/LogPage.php index 63f081ecc0..1950b02d9e 100644 --- a/includes/LogPage.php +++ b/includes/LogPage.php @@ -45,12 +45,12 @@ 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 + * @param bool $udp Whether to send to the UDP feed if not to RC */ - public function __construct( $type, $rc = true, $udp = true ) { + public function __construct( $type, $rc = true, $udp = 'UDP' ) { $this->type = $type; $this->updateRecentChanges = $rc; - $this->sendToUDP = $udp; + $this->sendToUDP = ($udp == 'UDP'); } protected function saveContent() { -- 2.20.1