summaryrefslogtreecommitdiff
path: root/includes/SquidPurgeClient.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/SquidPurgeClient.php')
-rw-r--r--includes/SquidPurgeClient.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/SquidPurgeClient.php b/includes/SquidPurgeClient.php
index 65da5c1a..1b315e5f 100644
--- a/includes/SquidPurgeClient.php
+++ b/includes/SquidPurgeClient.php
@@ -265,7 +265,7 @@ class SquidPurgeClient {
$this->markDown();
return;
}
- list( $all, $major, $minor, $status, $reason ) = $m;
+ list( , , , $status, $reason ) = $m;
$status = intval( $status );
if ( $status !== 200 && $status !== 404 ) {
$this->log( "unexpected status code: $status $reason" );
@@ -356,12 +356,12 @@ class SquidPurgeClientPool {
}
foreach ( $readSockets as $key => $socket ) {
- list( $clientIndex, $i ) = explode( '/', $key );
+ list( $clientIndex, ) = explode( '/', $key );
$client = $this->clients[$clientIndex];
$client->doReads();
}
foreach ( $writeSockets as $key => $socket ) {
- list( $clientIndex, $i ) = explode( '/', $key );
+ list( $clientIndex, ) = explode( '/', $key );
$client = $this->clients[$clientIndex];
$client->doWrites();
}