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) {
|
public function getMetaData($path) {
|
||||||
$fullPath = $this->getSourcePath($path);
|
$fullPath = $this->getSourcePath($path);
|
||||||
|
clearstatcache();
|
||||||
$stat = @stat($fullPath);
|
$stat = @stat($fullPath);
|
||||||
if (!$stat) {
|
if (!$stat) {
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in New Issue