make Swift::testLocal workable by using a delimiter
This commit is contained in:
parent
a1e956263c
commit
128d3221cc
|
@ -201,7 +201,8 @@ class Swift extends \OC\Files\Storage\Common {
|
||||||
try {
|
try {
|
||||||
$files = array();
|
$files = array();
|
||||||
$objects = $this->container->ObjectList(array(
|
$objects = $this->container->ObjectList(array(
|
||||||
'prefix' => $path
|
'prefix' => $path,
|
||||||
|
'delimiter' => '/'
|
||||||
));
|
));
|
||||||
|
|
||||||
while ($object = $objects->Next()) {
|
while ($object = $objects->Next()) {
|
||||||
|
|
Loading…
Reference in New Issue