Fix getEtag for roots of shared storages
This commit is contained in:
parent
e468b38bd4
commit
d3c1fcf961
|
@ -583,9 +583,6 @@ class Shared extends \OC\Files\Storage\Common implements ISharedStorage {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getETag($path) {
|
public function getETag($path) {
|
||||||
if ($path == '') {
|
|
||||||
$path = $this->getMountPoint();
|
|
||||||
}
|
|
||||||
if ($source = $this->getSourcePath($path)) {
|
if ($source = $this->getSourcePath($path)) {
|
||||||
list($storage, $internalPath) = \OC\Files\Filesystem::resolvePath($source);
|
list($storage, $internalPath) = \OC\Files\Filesystem::resolvePath($source);
|
||||||
return $storage->getETag($internalPath);
|
return $storage->getETag($internalPath);
|
||||||
|
|
Loading…
Reference in New Issue