diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-09-28 21:30:06 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-09-28 21:30:06 +0200 |
commit | fed34aecfa5b36c031ed754ed245549aa4a4194b (patch) | |
tree | 17ceb37b88ebf973529ba90a9115262ac8dab0d5 | |
parent | 9c4c79346c9ccedc72998566911d1cd2a2e57b11 (diff) | |
download | nextcloud-server-fed34aecfa5b36c031ed754ed245549aa4a4194b.tar.gz nextcloud-server-fed34aecfa5b36c031ed754ed245549aa4a4194b.zip |
Fix syntax error in removeETagHook
-rw-r--r-- | lib/filesystem.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/filesystem.php b/lib/filesystem.php index 5516aae3976..c6da826a339 100644 --- a/lib/filesystem.php +++ b/lib/filesystem.php @@ -527,13 +527,13 @@ class OC_Filesystem{ } else { $path=$params['oldpath']; } - - if (root) { // reduce path to the required part of it (no 'username/files') - $fakeRootView = new OC_FilesystemView($root); - $count = 1;
+ + 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); } - + $path = self::normalizePath($path); OC_Connector_Sabre_Node::removeETagPropertyForPath($path); } |