summaryrefslogtreecommitdiffstats
path: root/lib/private/connector/sabre/filesplugin.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-02-05 20:43:37 +0100
committerVincent Petry <pvince81@owncloud.com>2015-02-05 20:43:37 +0100
commit8210200770fa1e7afa2b96f4cb69d1be2064bcad (patch)
treedaeb8cbdda09a99b64ff823d54ab00e8881a3e3b /lib/private/connector/sabre/filesplugin.php
parent9e222ec841946d773514f790fcc567c634d27038 (diff)
downloadnextcloud-server-8210200770fa1e7afa2b96f4cb69d1be2064bcad.tar.gz
nextcloud-server-8210200770fa1e7afa2b96f4cb69d1be2064bcad.zip
Revert "adding OC-ETag header"
This reverts commit 96a931929ea837a40a7e9b836252587c949a8127.
Diffstat (limited to 'lib/private/connector/sabre/filesplugin.php')
-rw-r--r--lib/private/connector/sabre/filesplugin.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/private/connector/sabre/filesplugin.php b/lib/private/connector/sabre/filesplugin.php
index ff5a6cc8b4b..f6f0fac878b 100644
--- a/lib/private/connector/sabre/filesplugin.php
+++ b/lib/private/connector/sabre/filesplugin.php
@@ -123,10 +123,6 @@ class OC_Connector_Sabre_FilesPlugin extends \Sabre\DAV\ServerPlugin
if (!is_null($fileId)) {
$this->server->httpResponse->setHeader('OC-FileId', $fileId);
}
- $eTag = $node->getETag();
- if (!is_null($eTag)) {
- $this->server->httpResponse->setHeader('OC-ETag', $eTag);
- }
}
}