Skip to content

Commit 0deaa88

Browse files
committed
added remove for temporay backup folder
1 parent 674f855 commit 0deaa88

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Classes/Service/BackupService.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,9 @@ public function restoreBackup(string $name)
116116
// persist all changes from the steps
117117
$this->persistenceManager->persistAll();
118118
$this->logger->info('restored backup '.$name);
119+
// delete temp stuff
120+
Files::removeDirectoryRecursively($backupPath);
121+
Files::unlink($archivePath);
119122
}
120123

121124

0 commit comments

Comments
 (0)