Your descriptive commit message
This commit is contained in:
@@ -289,7 +289,7 @@ class PollServerStatistics extends Command
|
||||
|
||||
foreach ($parts as $part) {
|
||||
if (strpos($part, 'rate=') === 0) {
|
||||
$newParts[] = 'rate=1';
|
||||
$newParts[] = 'rate=0';
|
||||
$hasRate = true;
|
||||
} else {
|
||||
$newParts[] = $part;
|
||||
@@ -297,7 +297,7 @@ class PollServerStatistics extends Command
|
||||
}
|
||||
|
||||
if (!$hasRate) {
|
||||
$newParts[] = 'rate=1';
|
||||
$newParts[] = 'rate=0';
|
||||
}
|
||||
|
||||
$updates[$key] = implode(',', $newParts);
|
||||
|
||||
Reference in New Issue
Block a user