mirror of
https://github.com/nextcloud/server.git
synced 2026-06-19 21:49:43 -04:00
Don't overwrite fake directory stream for Amazon S3 storage
This commit is contained in:
parent
426193cf6c
commit
db6139fd41
1 changed files with 2 additions and 2 deletions
|
|
@ -96,8 +96,8 @@ class OC_Filestorage_AmazonS3 extends OC_Filestorage_Common {
|
|||
foreach ($response->body->CommonPrefixes as $object) {
|
||||
$files[] = basename($object->Prefix);
|
||||
}
|
||||
OC_FakeDirStream::$dirs['amazons3'] = $files;
|
||||
return opendir('fakedir://amazons3');
|
||||
OC_FakeDirStream::$dirs['amazons3'.$path] = $files;
|
||||
return opendir('fakedir://amazons3'.$path);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue