summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2016-08-22 14:55:50 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2016-08-26 09:38:01 +0200
commitd253b6dfab3d7699ce425efe7c12417eb02493b0 (patch)
treec7e7a08bc356471986f6d1728d43aa3126934651
parent717c521423a7d1ab10149ddc03c2d01a80778407 (diff)
downloadnextcloud-server-d253b6dfab3d7699ce425efe7c12417eb02493b0.tar.gz
nextcloud-server-d253b6dfab3d7699ce425efe7c12417eb02493b0.zip
do not overwrite stat cache with plain array
-rw-r--r--apps/files_external/lib/smb.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/smb.php b/apps/files_external/lib/smb.php
index da52cd70c51..86ea6593ff3 100644
--- a/apps/files_external/lib/smb.php
+++ b/apps/files_external/lib/smb.php
@@ -413,7 +413,7 @@ class SMB extends Common {
$this->log('enter: '.__FUNCTION__."($path)");
$result = false;
try {
- $this->statCache = array();
+ $this->removeFromCache($path);
$content = $this->share->dir($this->buildPath($path));
foreach ($content as $file) {
if ($file->isDirectory()) {