make Swift::testLocal workable by using a delimiter

This commit is contained in:
Christian Berendt 2013-10-23 08:07:59 +02:00
parent a1e956263c
commit 128d3221cc
1 changed files with 2 additions and 1 deletions

View File

@ -201,7 +201,8 @@ class Swift extends \OC\Files\Storage\Common {
try {
$files = array();
$objects = $this->container->ObjectList(array(
'prefix' => $path
'prefix' => $path,
'delimiter' => '/'
));
while ($object = $objects->Next()) {