]> scripts.mit.edu Git - autoinstalls/mediawiki.git/blobdiff - includes/SquidPurgeClient.php
MediaWiki 1.17.0
[autoinstalls/mediawiki.git] / includes / SquidPurgeClient.php
index 65da5c1accca774600b1e1e09efc1da45f5981b2..1b315e5f53d68957530f459f7604f84c1b15245b 100644 (file)
@@ -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();
                        }