mirror of
https://github.com/nextcloud/server.git
synced 2026-04-23 07:08:34 -04:00
Call headObject if file not in filecache 🙈
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
659ed3ecda
commit
0d667d18bb
1 changed files with 1 additions and 1 deletions
|
|
@ -408,7 +408,7 @@ class AmazonS3 extends \OC\Files\Storage\Common {
|
|||
}
|
||||
|
||||
try {
|
||||
if (isset($this->filesCache[$path]) && $this->headObject($path)) {
|
||||
if (isset($this->filesCache[$path]) || $this->headObject($path)) {
|
||||
return 'file';
|
||||
}
|
||||
if ($this->headObject($path . '/')) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue