Reorder keys for fileStoragePathsForOps() function since its a list.
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 2 Oct 2012 17:40:25 +0000 (10:40 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 2 Oct 2012 17:40:35 +0000 (10:40 -0700)
Change-Id: I83cf6f6db92c9a0b39c3229d688463c5cda61d69

includes/filebackend/FileBackendMultiWrite.php

index 4be0323..dc9806c 100644 (file)
@@ -351,7 +351,7 @@ class FileBackendMultiWrite extends FileBackend {
                                $paths[] = $op['dst'];
                        }
                }
-               return array_unique( array_filter( $paths, 'FileBackend::isStoragePath' ) );
+               return array_values( array_unique( array_filter( $paths, 'FileBackend::isStoragePath' ) ) );
        }
 
        /**