dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Quote $default in PostgresUpdater::setDefault
[lhc/web/wiklou.git]
/
includes
/
rcfeed
/
UDPRCFeedEngine.php
diff --git
a/includes/rcfeed/UDPRCFeedEngine.php
b/includes/rcfeed/UDPRCFeedEngine.php
index
8554670
..
61ced5f
100644
(file)
--- a/
includes/rcfeed/UDPRCFeedEngine.php
+++ b/
includes/rcfeed/UDPRCFeedEngine.php
@@
-1,5
+1,4
@@
<?php
<?php
-
/**
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
/**
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-20,15
+19,15
@@
*/
/**
*/
/**
- * Send
s the notification to the specified host
in a UDP packet.
+ * Send
recent change notifications
in a UDP packet.
* @since 1.22
*/
* @since 1.22
*/
-
-class UDPRCFeedEngine implements RCFeedEngine {
+class UDPRCFeedEngine extends RCFeedEngine {
/**
* @see RCFeedEngine::send
*/
public function send( array $feed, $line ) {
/**
* @see RCFeedEngine::send
*/
public function send( array $feed, $line ) {
- wfErrorLog( $line, $feed['uri'] );
+ $transport = UDPTransport::newFromString( $feed['uri'] );
+ $transport->emit( $line );
}
}
}
}