Reorder keys for fileStoragePathsForOps() function since its a list.
[lhc/web/wiklou.git] / 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' ) ) );
        }
 
        /**