Fix syntax error in removeETagHook

This commit is contained in:
Bart Visscher 2012-09-28 21:30:06 +02:00
parent 9c4c79346c
commit fed34aecfa
1 changed files with 5 additions and 5 deletions

View File

@ -528,7 +528,7 @@ class OC_Filesystem{
$path=$params['oldpath'];
}
if (root) { // reduce path to the required part of it (no 'username/files')
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(), "", $fakeRootView->getAbsolutePath($path), $count);