From 128d3221cc6a0cb4f111b2c4c5024345a6b1dd10 Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Wed, 23 Oct 2013 08:07:59 +0200 Subject: [PATCH] make Swift::testLocal workable by using a delimiter --- apps/files_external/lib/swift.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/files_external/lib/swift.php b/apps/files_external/lib/swift.php index 981a118f182..fe28e124fe3 100644 --- a/apps/files_external/lib/swift.php +++ b/apps/files_external/lib/swift.php @@ -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()) {