mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Fix oc-1362: post_rename has no path param but newpath and oldpath
This commit is contained in:
parent
ebe4d1f0ee
commit
3725cd079b
1 changed files with 5 additions and 1 deletions
|
|
@ -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…
Reference in a new issue