Implement getETag() in shared storage
This commit is contained in:
parent
cd8d8360b0
commit
8ca30d244c
|
@ -431,7 +431,14 @@ class Shared extends \OC\Files\Storage\Common {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getETag($path) {
|
public function getETag($path) {
|
||||||
|
if ($path == '') {
|
||||||
|
return parent::getETag($path);
|
||||||
|
}
|
||||||
|
if ($source = $this->getSourcePath($path)) {
|
||||||
|
list($storage, $internalPath) = \OC\Files\Filesystem::resolvePath($source);
|
||||||
|
return $storage->getETag($internalPath);
|
||||||
|
}
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue