Skip to content

Commit

Permalink
* [FIX] Fixed issue when deleting old backups
Browse files Browse the repository at this point in the history
Signed-off-by: nuxsmin <[email protected]>
  • Loading branch information
nuxsmin committed Nov 5, 2018
1 parent 5545aa8 commit 4ee1577
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/SP/Services/Backup/FileBackupService.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,6 @@ public static function getDbBackupFilename(string $path, string $hash, bool $com
*/
private function deleteOldBackups()
{
// array_map('unlink', glob($this->path . DIRECTORY_SEPARATOR . '_db-*' . ArchiveHandler::COMPRESS_EXTENSION));
// array_map('unlink', glob($this->path . DIRECTORY_SEPARATOR . '_app-*' . ArchiveHandler::COMPRESS_EXTENSION));
// array_map('unlink', glob($this->path . DIRECTORY_SEPARATOR . '*.sql'));

$path = $this->path . DIRECTORY_SEPARATOR . AppInfoInterface::APP_NAME;

array_map(function ($file) {
Expand Down

0 comments on commit 4ee1577

Please sign in to comment.