aboutsummaryrefslogtreecommitdiffstats
path: root/lib/filesystem.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-07-25 23:08:53 +0200
committerBart Visscher <bartv@thisnet.nl>2012-07-25 23:09:03 +0200
commit783d67be6285d730ab7f365e3643bde0c116611a (patch)
tree54b817b28ae18d9c55dabf1390f6ca69a0cc5b03 /lib/filesystem.php
parent381e493a8c777a4e5e95fd72c6a7ed8114c3c978 (diff)
downloadnextcloud-server-783d67be6285d730ab7f365e3643bde0c116611a.tar.gz
nextcloud-server-783d67be6285d730ab7f365e3643bde0c116611a.zip
Create uniqid ETag for directories
Diffstat (limited to 'lib/filesystem.php')
-rw-r--r--lib/filesystem.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/filesystem.php b/lib/filesystem.php
index c87bc9ed9cb..d88b30c2f68 100644
--- a/lib/filesystem.php
+++ b/lib/filesystem.php
@@ -476,6 +476,7 @@ class OC_Filesystem{
static public function removeETagHook($params) {
$path=$params['path'];
OC_Connector_Sabre_Node::removeETagPropertyForPath($path);
+ OC_Connector_Sabre_Node::removeETagPropertyForPath(dirname($path));
}
}
OC_Hook::connect('OC_Filesystem','post_write', 'OC_Filesystem','removeETagHook');