diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-06-18 15:33:15 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-06-18 15:33:44 +0200 |
commit | 17be0993b404d22e74caf89a578eebfc0b706ff7 (patch) | |
tree | 46b8d039bc5d03fae126551e3278f8d04820837b /lib/private/files/view.php | |
parent | 6018567df2bc0c5f7cd50b8e27d054d0184a56a5 (diff) | |
download | nextcloud-server-17be0993b404d22e74caf89a578eebfc0b706ff7.tar.gz nextcloud-server-17be0993b404d22e74caf89a578eebfc0b706ff7.zip |
remove unneeded normalize
Diffstat (limited to 'lib/private/files/view.php')
-rw-r--r-- | lib/private/files/view.php | 2 |
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)) { |