diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Files/View.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/private/Files/View.php b/lib/private/Files/View.php index c20ff9f3c02..0e5e433ccb6 100644 --- a/lib/private/Files/View.php +++ b/lib/private/Files/View.php @@ -1338,9 +1338,6 @@ class View { if (!Filesystem::isValidPath($path)) { return false; } - if (Cache\Scanner::isPartialFile($path)) { - return $this->getPartFileInfo($path); - } $relativePath = $path; $path = Filesystem::normalizePath($this->fakeRoot . '/' . $path); @@ -1351,6 +1348,10 @@ class View { $data = $this->getCacheEntry($storage, $internalPath, $relativePath); if (!$data instanceof ICacheEntry) { + if (Cache\Scanner::isPartialFile($relativePath)) { + return $this->getPartFileInfo($relativePath); + } + return false; } |