From 17be0993b404d22e74caf89a578eebfc0b706ff7 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 18 Jun 2015 15:33:15 +0200 Subject: remove unneeded normalize --- lib/private/files/view.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/private/files/view.php') 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)) { -- cgit v1.2.3