From: Aaron Schulz Date: Tue, 2 Oct 2012 17:40:25 +0000 (-0700) Subject: Reorder keys for fileStoragePathsForOps() function since its a list. X-Git-Tag: 1.31.0-rc.0~22183^2 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=613c5949a65504c31e5a279495adad4e9c6824d2;p=lhc%2Fweb%2Fwiklou.git Reorder keys for fileStoragePathsForOps() function since its a list. Change-Id: I83cf6f6db92c9a0b39c3229d688463c5cda61d69 --- diff --git a/includes/filebackend/FileBackendMultiWrite.php b/includes/filebackend/FileBackendMultiWrite.php index 4be0323149..dc9806c224 100644 --- a/includes/filebackend/FileBackendMultiWrite.php +++ b/includes/filebackend/FileBackendMultiWrite.php @@ -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' ) ) ); } /**