summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2023-01-22 17:42:42 +0100
committerDaniel Friesel <derf@finalrewind.org>2023-01-22 17:42:42 +0100
commit50e1f86eab4036ae19ffeafd9efb84ebe8ca5912 (patch)
treea105bc8f0f931b58d88e96d1ec0e9b0f6335a9c7
parent49463c761974b19826a16270c9e884a4fc298a31 (diff)
get_results_p: remove superfluous cache_str variable
-rw-r--r--lib/DBInfoscreen/Controller/Stationboard.pm5
1 files changed, 0 insertions, 5 deletions
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();
}