If an item isn't going into RC, don't send to UDP unless explicitly told to do so
authorAaron Schulz <aaron@users.mediawiki.org>
Thu, 29 Jan 2009 04:15:47 +0000 (04:15 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Thu, 29 Jan 2009 04:15:47 +0000 (04:15 +0000)
includes/LogPage.php

index bd3c974..d8dca6e 100644 (file)
@@ -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');