diff --git a/lib/private/files/view.php b/lib/private/files/view.php index 46158b42f10c93665d705662f0c11ad666e598d3..5794389626ddcb98293e2428174486ae6e9bdf4a 100644 --- a/lib/private/files/view.php +++ b/lib/private/files/view.php @@ -1826,8 +1826,6 @@ class View { * @return bool False if the path is excluded from locking, true otherwise */ public function unlockFile($path, $type) { - $path = '/' . trim($path, '/'); - $absolutePath = $this->getAbsolutePath($path); $absolutePath = Filesystem::normalizePath($absolutePath); if (!$this->shouldLockFile($absolutePath)) {