Merge pull request #21135 from nextcloud/backport/21065/stable19
[stable19] Clear the statscache before fetching the metadata
This commit is contained in:
commit
89f0785c1d
|
@ -156,6 +156,7 @@ class Local extends \OC\Files\Storage\Common {
|
|||
*/
|
||||
public function getMetaData($path) {
|
||||
$fullPath = $this->getSourcePath($path);
|
||||
clearstatcache();
|
||||
$stat = @stat($fullPath);
|
||||
if (!$stat) {
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue