summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-02-27 10:35:33 +0100
committerFlorian Pritz <bluewind@xinu.at>2017-02-27 10:35:33 +0100
commit6ceae7a7870ddef792f863a546082ea28530c5cf (patch)
tree46c851186f19ad35f834033f5b884c8cf015830f
parentdf777475af4694cfc5489ccb29a75a7789a29df6 (diff)
downloadApp-BorgRestore-6ceae7a7870ddef792f863a546082ea28530c5cf.tar.gz
App-BorgRestore-6ceae7a7870ddef792f863a546082ea28530c5cf.tar.xz
Remove unused sanitize_db_data()
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-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;