Skip to content

Commit

Permalink
Fix copy function
Browse files Browse the repository at this point in the history
  • Loading branch information
M0rgan01 committed Jan 24, 2025
1 parent 7bdfa88 commit 7da2368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/Task/Update/UpdateFiles.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public function upgradeThisFile($orig): bool
// upgrade exception were above. This part now process all files that have to be upgraded (means to modify or to remove)
// delete before updating (and this will also remove deprecated files)
try {
$this->container->getFileSystem()->copy($orig, $dest);
$this->container->getFileSystem()->copy($orig, $dest, true);
$this->logger->debug($this->translator->trans('Copied %1$s.', [$file]));

return true;
Expand Down

0 comments on commit 7da2368

Please sign in to comment.