Fixed documentation typo.
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 3 Oct 2012 20:32:16 +0000 (13:32 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 3 Oct 2012 20:32:16 +0000 (13:32 -0700)
Change-Id: I31c7959d6feb2241984883e4a02882903a8475d4

includes/filebackend/SwiftFileBackend.php

index 057d6f7..1807734 100644 (file)
@@ -814,7 +814,7 @@ class SwiftFileBackend extends FileBackendStore {
 
                $ep = array_diff_key( $params, array( 'srcs' => 1 ) ); // for error logging
                // Blindly create tmp files and stream to them, catching any exception if the file does
-               // not exist. Doing a stat here is useless causes infinite loops in addMissingMetadata().
+               // not exist. Doing stats here is useless and will loop infinitely in addMissingMetadata().
                foreach ( array_chunk( $params['srcs'], $params['concurrency'] ) as $pathBatch ) {
                        $cfOps = array(); // (path => CF_Async_Op)