netexternal.cgi: Remove GeoIP related code.

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>
This commit is contained in:
Stefan Schantl
2020-06-12 18:45:56 +02:00
parent 4f6d5b3ef3
commit e43b7b7b2d

View 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=();