From: Björn Schießle Date: Fri, 12 Oct 2012 15:37:59 +0000 (+0200) Subject: fix bug #1977: remove etags from database after version rollback so that the client... X-Git-Tag: v5.0.0alpha1~780 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e38b736a1ec092509edaf74d101c6e1c917badda;p=nextcloud-server.git fix bug #1977: remove etags from database after version rollback so that the client can detect the changes --- diff --git a/lib/filesystem.php b/lib/filesystem.php index 6dbfc6a9bf4..da524d7f181 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);