mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Fix moving mount points
This commit is contained in:
parent
8688660825
commit
addfafd9da
1 changed files with 3 additions and 1 deletions
|
|
@ -677,7 +677,9 @@ class View {
|
|||
$this->emit_file_hooks_post($exists, $path2);
|
||||
}
|
||||
} elseif ($result) {
|
||||
$this->updater->rename($path1, $path2);
|
||||
if ($internalPath1 !== '') { // dont do a cache update for moved mounts
|
||||
$this->updater->rename($path1, $path2);
|
||||
}
|
||||
if ($this->shouldEmitHooks($path1) and $this->shouldEmitHooks($path2)) {
|
||||
\OC_Hook::emit(
|
||||
Filesystem::CLASSNAME,
|
||||
|
|
|
|||
Loading…
Reference in a new issue