summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorChristian Berendt <berendt@b1-systems.de>2013-10-23 08:07:59 +0200
committerChristian Berendt <berendt@b1-systems.de>2013-10-23 08:07:59 +0200
commit128d3221cc6a0cb4f111b2c4c5024345a6b1dd10 (patch)
tree39b9aacf921e3f90440320f74e028010d16a539e /apps/files_external
parenta1e956263c3a02ec692894990f535e0304576c20 (diff)
downloadnextcloud-server-128d3221cc6a0cb4f111b2c4c5024345a6b1dd10.tar.gz
nextcloud-server-128d3221cc6a0cb4f111b2c4c5024345a6b1dd10.zip
make Swift::testLocal workable by using a delimiter
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/lib/swift.php3
1 files changed, 2 insertions, 1 deletions
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()) {