diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-07-26 17:41:57 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-07-26 17:41:57 +0200 |
commit | 3725cd079b96dff489d60aadfbd585045af033f8 (patch) | |
tree | 73390991b46734467bed47d07b5327fd007768ca /lib | |
parent | ebe4d1f0ee7b7835dd55950c25c768f547ac0fa6 (diff) | |
download | nextcloud-server-3725cd079b96dff489d60aadfbd585045af033f8.tar.gz nextcloud-server-3725cd079b96dff489d60aadfbd585045af033f8.zip |
Fix oc-1362: post_rename has no path param but newpath and oldpath
Diffstat (limited to 'lib')
-rw-r--r-- | lib/filesystem.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/filesystem.php b/lib/filesystem.php index d88b30c2f68..530d50139b4 100644 --- a/lib/filesystem.php +++ b/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)); } |