[FileBackend] Make sure multiwrite sub-backends use the proxy backend wiki ID.
[lhc/web/wiklou.git] / includes / filerepo / RepoGroup.php
index 709655a..6b31b7e 100644 (file)
@@ -259,6 +259,7 @@ class RepoGroup {
                foreach ( $this->foreignRepos as $repo ) {
                        $result = array_merge( $result, $repo->findBySha1( $hash ) );
                }
+               usort( $result, 'File::compare' );
                return $result;
        }