Skip to content

Commit e6a4a17

Browse files
committed
Backup Rotation - Comment change
1 parent 7b8322e commit e6a4a17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Services/Backups/InitiateBackupService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public function handle(Server $server, string $name = null, bool $override = fal
122122
throw new TooManyBackupsException($server->backup_limit);
123123
}
124124

125-
// Remove latest backup
125+
// Remove oldest backup
126126
$lastBackup = $server->backups()->where('is_successful', true)->orderByDesc('created_at')->first();
127127
$this->deleteBackupService->handle($lastBackup);
128128
}

0 commit comments

Comments
 (0)