[Pkg-owncloud-commits] [owncloud] 34/205: remove unneeded normalize

David Prévot taffit at moszumanska.debian.org
Thu Jul 2 17:36:52 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit 17be0993b404d22e74caf89a578eebfc0b706ff7
Author: Robin Appelman <icewind at owncloud.com>
Date:   Thu Jun 18 15:33:15 2015 +0200

    remove unneeded normalize
---
 lib/private/files/view.php | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/private/files/view.php b/lib/private/files/view.php
index 46158b4..5794389 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)) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list