r107980: added missing dir param to FileBackendShardListIterator
authorAaron Schulz <aaron@users.mediawiki.org>
Fri, 27 Jan 2012 18:23:40 +0000 (18:23 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Fri, 27 Jan 2012 18:23:40 +0000 (18:23 +0000)
includes/filerepo/backend/FileBackend.php

index 3e8ba88..834139c 100644 (file)
@@ -1144,7 +1144,7 @@ abstract class FileBackend extends FileBackendBase {
                        // File listing spans multiple containers/shards
                        list( $b, $shortCont, $r ) = self::splitStoragePath( $params['dir'] );
                        return new FileBackendShardListIterator( $this,
-                               $fullCont, $this->getContainerSuffixes( $shortCont ), $params );
+                               $fullCont, $dir, $this->getContainerSuffixes( $shortCont ), $params );
                }
        }