Fix getEtag for roots of shared storages

This commit is contained in:
Robin Appelman 2015-10-06 16:33:37 +02:00
parent e468b38bd4
commit d3c1fcf961
1 changed files with 0 additions and 3 deletions

View File

@ -583,9 +583,6 @@ class Shared extends \OC\Files\Storage\Common implements ISharedStorage {
}
public function getETag($path) {
if ($path == '') {
$path = $this->getMountPoint();
}
if ($source = $this->getSourcePath($path)) {
list($storage, $internalPath) = \OC\Files\Filesystem::resolvePath($source);
return $storage->getETag($internalPath);