summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2012-10-12 17:37:59 +0200
committerBjörn Schießle <schiessle@owncloud.com>2012-10-12 17:37:59 +0200
commite38b736a1ec092509edaf74d101c6e1c917badda (patch)
tree0552a1bb721e85ad9026651a0ca9b72ed995c984 /lib
parent079f0788d203c254685adfc17bc89be4a443226d (diff)
downloadnextcloud-server-e38b736a1ec092509edaf74d101c6e1c917badda.tar.gz
nextcloud-server-e38b736a1ec092509edaf74d101c6e1c917badda.zip
fix bug #1977: remove etags from database after version rollback so that the client can detect the changes
Diffstat (limited to 'lib')
-rw-r--r--lib/filesystem.php2
1 files changed, 1 insertions, 1 deletions
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);