mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Switch to calling deleteAll via storage to avoid emitting delete hook
This commit is contained in:
parent
09ff46eda2
commit
3b6d850e59
1 changed files with 2 additions and 1 deletions
|
|
@ -375,7 +375,8 @@ class View {
|
|||
if ($this->is_dir($path1)) {
|
||||
$result = $this->copy($path1, $path2);
|
||||
if ($result === true) {
|
||||
$result = $this->deleteAll($path1);
|
||||
list($storage1, $internalPath1) = Filesystem::resolvePath($absolutePath1 . $postFix1);
|
||||
$result = $storage1->deleteAll($internalPath1);
|
||||
}
|
||||
} else {
|
||||
$source = $this->fopen($path1 . $postFix1, 'r');
|
||||
|
|
|
|||
Loading…
Reference in a new issue