src/Tracker.php
public function updateGeoIp()
    {
        $updater = new GeoIpUpdater();

        $success = $updater->updateGeoIpFiles($this->config->get('geoip_database_path'));

        $this->messageRepository->addMessage($updater->getMessages());

        return $success;
    }
public function updateGeoIp()
    {
        $updater = new GeoIpUpdater();

        $success = $updater->updateGeoIpFiles($this->config->get('geoip_database_path'));

        $this->messageRepository->addMessage($updater->getMessages());

        return $success;
    }
public function updateGeoIp ( ) { $ updater = new GeoIpUpdater ( ) ; $ success = $ updater -> updateGeoIpFiles ( $ this -> config -> get ( 'geoip_database_path' ) ) ; $ this -> messageRepository -> addMessage ( $ updater -> getMessages ( ) ) ; return $ success ; }
Update the GeoIp2 database.

@return bool
Update the GeoIp2 database .