r111460 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r111459
|
r111460
|
r111461
>
Date:
14:10, 14 February 2012
Author:
ialex
Status:
ok
Tags:
Comment:
Always send 1 for "-total" item in wfIncrStats() when destination is UDP; it should not depend on the $count parameter
Modified paths:
/trunk/phase3/includes/GlobalFunctions.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/GlobalFunctions.php
—
—
@@ -2581,7 +2581,7 @@
2582
2582
2583
2583
if ( !$socket ) {
2584
2584
$socket = socket_create( AF_INET, SOCK_DGRAM, SOL_UDP );
2585
- $statline = "stats/{$id} - {$count} 1 1 1 1 -total\n";
2585
+ $statline = "stats/{$id} - 1 1 1 1 1 -total\n";
2586
2586
socket_sendto(
2587
2587
$socket,
2588
2588
$statline,
Status & tagging log
18:25, 14 February 2012
Brion VIBBER
(
talk
|
contribs
)
changed the
status
of r111460
[
removed:
new
added:
ok]