Index: trunk/phase3/includes/LogPage.php |
— | — | @@ -45,12 +45,12 @@ |
46 | 46 | * @param string $type One of '', 'block', 'protect', 'rights', 'delete', |
47 | 47 | * 'upload', 'move' |
48 | 48 | * @param bool $rc Whether to update recent changes as well as the logging table |
49 | | - * @param bool $udp Whether to send to the UDP feed |
| 49 | + * @param bool $udp Whether to send to the UDP feed if not to RC |
50 | 50 | */ |
51 | | - public function __construct( $type, $rc = true, $udp = true ) { |
| 51 | + public function __construct( $type, $rc = true, $udp = 'UDP' ) { |
52 | 52 | $this->type = $type; |
53 | 53 | $this->updateRecentChanges = $rc; |
54 | | - $this->sendToUDP = $udp; |
| 54 | + $this->sendToUDP = ($udp == 'UDP'); |
55 | 55 | } |
56 | 56 | |
57 | 57 | protected function saveContent() { |