Fix oc-1362: post_rename has no path param but newpath and oldpath

remotes/origin/stable45
Bart Visscher 14 years ago
parent ebe4d1f0ee
commit 3725cd079b
  1. 6
      lib/filesystem.php

@ -474,7 +474,11 @@ class OC_Filesystem{
}
static public function removeETagHook($params) {
$path=$params['path'];
if (isset($params['path'])) {
$path=$params['path'];
} else {
$path=$params['oldpath'];
}
OC_Connector_Sabre_Node::removeETagPropertyForPath($path);
OC_Connector_Sabre_Node::removeETagPropertyForPath(dirname($path));
}

Loading…
Cancel
Save