summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-10-14 14:39:25 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-10-16 13:17:12 +0200
commit2ff55560e21874ce4d3c724db20a6ebd86e65221 (patch)
tree1601a0d8160ac4a49a4a330f5190b86e7ce1d79c /lib/private
parentf2889dc6e4aa701f36081b314f38f620cbb1fc88 (diff)
downloadnextcloud-server-2ff55560e21874ce4d3c724db20a6ebd86e65221.tar.gz
nextcloud-server-2ff55560e21874ce4d3c724db20a6ebd86e65221.zip
Remove $ETagFunction - it was never used
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/files/storage/common.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/private/files/storage/common.php b/lib/private/files/storage/common.php
index cdd8eefd0d3..77a70226b37 100644
--- a/lib/private/files/storage/common.php
+++ b/lib/private/files/storage/common.php
@@ -372,13 +372,7 @@ abstract class Common implements Storage {
* @return string|false
*/
public function getETag($path) {
- $ETagFunction = \OCA\DAV\Connector\Sabre\Node::$ETagFunction;
- if ($ETagFunction) {
- $hash = call_user_func($ETagFunction, $path);
- return $hash;
- } else {
- return uniqid();
- }
+ return uniqid();
}
/**