summaryrefslogtreecommitdiffstats
path: root/lib/private/files/storage/common.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/files/storage/common.php')
-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();
}
/**