mirror of
https://github.com/nextcloud/server.git
synced 2026-03-04 22:41:13 -05:00
Implement getETag() in shared storage
This commit is contained in:
parent
cd8d8360b0
commit
8ca30d244c
1 changed files with 8 additions and 1 deletions
|
|
@ -431,7 +431,14 @@ class Shared extends \OC\Files\Storage\Common {
|
|||
}
|
||||
|
||||
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 a new issue