mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix bug #1977: remove etags from database after version rollback so that the client can detect the changes
This commit is contained in:
parent
9ee34ef6b3
commit
c11f9833ac
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue