aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/files/view.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/private/files/view.php b/lib/private/files/view.php
index 46158b42f10..5794389626d 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)) {