diff options
author | Robin Appelman <robin@icewind.nl> | 2023-10-25 16:43:57 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2023-11-02 14:21:08 +0100 |
commit | 8f7f696110aae155e5e29eacc13b33da0c5047d6 (patch) | |
tree | bac57add83bc2c68822f30f7037d24becf3032fe /lib/private/Files/Cache/Updater.php | |
parent | b2c0cd9e266d82382d101da195e7745ebe0accfd (diff) | |
download | nextcloud-server-normlize-less.tar.gz nextcloud-server-normlize-less.zip |
remove some unneeded normalizePath callsnormlize-less
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Files/Cache/Updater.php')
-rw-r--r-- | lib/private/Files/Cache/Updater.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/Files/Cache/Updater.php b/lib/private/Files/Cache/Updater.php index 457dd207e9d..1a9a0f0b68e 100644 --- a/lib/private/Files/Cache/Updater.php +++ b/lib/private/Files/Cache/Updater.php @@ -255,6 +255,9 @@ class Updater implements IUpdater { private function correctParentStorageMtime($internalPath) { $parentId = $this->cache->getParentId($internalPath); $parent = dirname($internalPath); + if ($parent === '.') { + $parent = ''; + } if ($parentId != -1) { $mtime = $this->storage->filemtime($parent); if ($mtime !== false) { |