mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
fix(Storage\Local): Do not call getSourcePath() on SplFileInfo
Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
parent
01478f1c40
commit
5bbe535c27
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ class Local extends \OC\Files\Storage\Common {
|
|||
* @var \SplFileInfo $file
|
||||
*/
|
||||
$file = $it->current();
|
||||
clearstatcache(true, $this->getSourcePath($file));
|
||||
clearstatcache(true, $file->getRealPath());
|
||||
if (in_array($file->getBasename(), ['.', '..'])) {
|
||||
$it->next();
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Reference in a new issue