From 50e1f86eab4036ae19ffeafd9efb84ebe8ca5912 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 22 Jan 2023 17:42:42 +0100 Subject: get_results_p: remove superfluous cache_str variable --- lib/DBInfoscreen/Controller/Stationboard.pm | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lib/DBInfoscreen/Controller') diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm index 78123d9..f871fde 100644 --- a/lib/DBInfoscreen/Controller/Stationboard.pm +++ b/lib/DBInfoscreen/Controller/Stationboard.pm @@ -261,11 +261,6 @@ sub get_results_p { my ( $station, %opt ) = @_; my $data; - # Cache::File has UTF-8 problems, so strip it (and any other potentially - # problematic chars). - my $cache_str = $station; - $cache_str =~ tr{[0-9a-zA-Z -]}{}cd; - if ( $ENV{DBFAKEDISPLAY_STATS} ) { log_api_access(); } -- cgit v1.2.3