summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-08-22 15:41:04 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2023-08-22 15:41:04 +0200
commita42d42358253bc8103df12b8409a32eca36d769b (patch)
treebd4758c9fc1afed56405e0e124fcaa9054cceeae
parent1ebc89de285cdd87607b03e8def3f78d5d077519 (diff)
HAFAS: remove unused $ua
-rw-r--r--lib/Travel/Status/DE/HAFAS.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/HAFAS.pm b/lib/Travel/Status/DE/HAFAS.pm
index 7cec3f3..9bf8627 100644
--- a/lib/Travel/Status/DE/HAFAS.pm
+++ b/lib/Travel/Status/DE/HAFAS.pm
@@ -512,7 +512,6 @@ sub post_with_cache {
say ' cache miss';
}
- my $ua = $self->{user_agent};
my $reply = $self->{ua}->post(
$url,
'Content-Type' => 'application/json',