1
0
miroir de https://github.com/nextcloud/server.git synchronisé 2024-08-13 14:11:10 +02:00

Also clearstatcache() in MappedLocal before using the stats

Local change 283c10f010
Cette révision appartient à :
Joas Schilling 2014-11-27 11:53:12 +01:00
Parent 50f85bfd1f
révision 7761f0288e

Voir le fichier

@ -109,6 +109,7 @@ class MappedLocal extends \OC\Files\Storage\Common {
}
public function stat($path) {
clearstatcache();
$fullPath = $this->getSourcePath($path);
$statResult = stat($fullPath);
if (PHP_INT_SIZE === 4 && !$this->is_dir($path)) {