diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-10-06 16:33:37 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-10-06 16:33:37 +0200 |
commit | d3c1fcf9615339786d3134b8b30d150f9a80f89d (patch) | |
tree | c7cbdeede13dfc3d409b32623e373276a992539a | |
parent | e468b38bd4349f871d15efa506c3f5e362faea39 (diff) | |
download | nextcloud-server-d3c1fcf9615339786d3134b8b30d150f9a80f89d.tar.gz nextcloud-server-d3c1fcf9615339786d3134b8b30d150f9a80f89d.zip |
Fix getEtag for roots of shared storages
-rw-r--r-- | apps/files_sharing/lib/sharedstorage.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/files_sharing/lib/sharedstorage.php b/apps/files_sharing/lib/sharedstorage.php index 27dd2f1e485..b0e56f5f054 100644 --- a/apps/files_sharing/lib/sharedstorage.php +++ b/apps/files_sharing/lib/sharedstorage.php @@ -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); |