summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscript/borg-restore.pl16
1 files changed, 0 insertions, 16 deletions
diff --git a/script/borg-restore.pl b/script/borg-restore.pl
index 1876d9f..f586ed5 100755
--- a/script/borg-restore.pl
+++ b/script/borg-restore.pl
@@ -418,22 +418,6 @@ sub handle_removed_archives {
}
}
-sub sanitize_db_data {
- my $data = shift;
-
- my @ret;
-
- for my $item (@$data) {
- if (defined($item)) {
- push @ret, $item + 0;
- } else {
- push @ret, undef;
- }
- }
-
- return \@ret;
-}
-
sub handle_added_archives {
my $db = shift;
my $borg_archives = shift;