From: Aaron Schulz Date: Wed, 14 Jan 2009 18:10:03 +0000 (+0000) Subject: Tweak $udp param X-Git-Tag: 1.31.0-rc.0~43427 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=8f8509dba15c85f210d3a0b4f162b2df3dcba9d3;p=lhc%2Fweb%2Fwiklou.git Tweak $udp param --- 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() {