[Pkg-owncloud-commits] [owncloud] 28/67: fix bug #1977: remove etags from database after version rollback so that the client can detect the changes

David Prévot taffit at alioth.debian.org
Fri Nov 8 23:10:36 UTC 2013


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

taffit pushed a commit to annotated tag v4.5.1
in repository owncloud.

commit c11f9833ac00017f981f8ea6e61432a64ea0630f
Author: Björn Schießle <schiessle at owncloud.com>
Date:   Fri Oct 12 17:37:59 2012 +0200

    fix bug #1977: remove etags from database after version rollback so that the client can detect the changes
---
 lib/filesystem.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/filesystem.php b/lib/filesystem.php
index 6dbfc6a..da524d7 100644
--- a/lib/filesystem.php
+++ b/lib/filesystem.php
@@ -531,7 +531,7 @@ class OC_Filesystem{
 		if ($root) { // reduce path to the required part of it (no 'username/files')
 			$fakeRootView = new OC_FilesystemView($root);
 			$count = 1;
-			$path=str_replace(OC_App::getStorage("files")->getAbsolutePath($path), "", $fakeRootView->getAbsolutePath($path), $count);
+			$path=str_replace(OC_App::getStorage("files")->getAbsolutePath(), "", $fakeRootView->getAbsolutePath($path), $count);
 		}
 
 		$path = self::normalizePath($path);

-- 
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