summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-10-06 16:33:37 +0200
committerRobin Appelman <icewind@owncloud.com>2015-10-06 16:33:37 +0200
commitd3c1fcf9615339786d3134b8b30d150f9a80f89d (patch)
treec7cbdeede13dfc3d409b32623e373276a992539a /apps/files_sharing/lib
parente468b38bd4349f871d15efa506c3f5e362faea39 (diff)
downloadnextcloud-server-d3c1fcf9615339786d3134b8b30d150f9a80f89d.tar.gz
nextcloud-server-d3c1fcf9615339786d3134b8b30d150f9a80f89d.zip
Fix getEtag for roots of shared storages
Diffstat (limited to 'apps/files_sharing/lib')
-rw-r--r--apps/files_sharing/lib/sharedstorage.php3
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);