]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
netexternal.cgi: Remove GeoIP related code.
authorStefan Schantl <stefan.schantl@ipfire.org>
Fri, 12 Jun 2020 16:45:56 +0000 (18:45 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Fri, 12 Jun 2020 16:45:56 +0000 (18:45 +0200)
The CGI only loaded geoip-functions.pl and initiated libloc but did no
further actions. So we are safe to completely remove this code.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
html/cgi-bin/netexternal.cgi

index 731fa3f44b0a221231c193eb88d7c1899a05d618..781633c1db8bd3b89999e99d912253221bfa81c5 100644 (file)
@@ -31,12 +31,8 @@ use IO::Socket;
 require '/var/ipfire/general-functions.pl';
 require "${General::swroot}/lang.pl";
 require "${General::swroot}/header.pl";
-require "${General::swroot}/geoip-functions.pl";
 require "${General::swroot}/graphs.pl";
 
-# Libloc database handle.
-my $libloc_db_handle = &GeoIP::init();
-
 my %color = ();
 my %mainsettings = ();
 my %netsettings=();