diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-04-20 16:46:35 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-04-27 14:07:16 +0200 |
commit | 45784f213f5e7cf9a38feabd52c4ffadee9ae4f9 (patch) | |
tree | 4e0b8825da0b1c1e7ee5bfa96141d407c5db9c14 /lib | |
parent | f488624e5ff3a8f580029e98373071d6fe91e2eb (diff) | |
download | nextcloud-server-45784f213f5e7cf9a38feabd52c4ffadee9ae4f9.tar.gz nextcloud-server-45784f213f5e7cf9a38feabd52c4ffadee9ae4f9.zip |
fix propagation when renaming a directly reshared folder
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/files/view.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/files/view.php b/lib/private/files/view.php index 162bf568de7..63af2b616cf 100644 --- a/lib/private/files/view.php +++ b/lib/private/files/view.php @@ -658,6 +658,10 @@ class View { } elseif ($result) { if ($internalPath1 !== '') { // dont do a cache update for moved mounts $this->updater->rename($path1, $path2); + } else { // only do etag propagation + $this->getUpdater()->getPropagator()->addChange($path1); + $this->getUpdater()->getPropagator()->addChange($path2); + $this->getUpdater()->getPropagator()->propagateChanges(); } if ($this->shouldEmitHooks($path1) and $this->shouldEmitHooks($path2)) { \OC_Hook::emit( |