@ -34,12 +34,6 @@ use OCA\DAV\Connector\Sabre\Exception\InvalidPath;
abstract class Node implements \Sabre\DAV\INode {
/**
* Allow configuring the method used to generate Etags
*
* @var array(class_name, function_name)
*/
public static $ETagFunction = null;
* @var \OC\Files\View
@ -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();
}