remove unneeded normalize
This commit is contained in:
parent
6018567df2
commit
17be0993b4
|
@ -1826,8 +1826,6 @@ class View {
|
||||||
* @return bool False if the path is excluded from locking, true otherwise
|
* @return bool False if the path is excluded from locking, true otherwise
|
||||||
*/
|
*/
|
||||||
public function unlockFile($path, $type) {
|
public function unlockFile($path, $type) {
|
||||||
$path = '/' . trim($path, '/');
|
|
||||||
|
|
||||||
$absolutePath = $this->getAbsolutePath($path);
|
$absolutePath = $this->getAbsolutePath($path);
|
||||||
$absolutePath = Filesystem::normalizePath($absolutePath);
|
$absolutePath = Filesystem::normalizePath($absolutePath);
|
||||||
if (!$this->shouldLockFile($absolutePath)) {
|
if (!$this->shouldLockFile($absolutePath)) {
|
||||||
|
|
Loading…
Reference in New Issue