diff options
author | Björn Schießle <schiessle@owncloud.com> | 2012-10-12 17:37:59 +0200 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2012-10-12 17:37:59 +0200 |
commit | e38b736a1ec092509edaf74d101c6e1c917badda (patch) | |
tree | 0552a1bb721e85ad9026651a0ca9b72ed995c984 /lib | |
parent | 079f0788d203c254685adfc17bc89be4a443226d (diff) | |
download | nextcloud-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.php | 2 |
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); |