original_string: private function setUpdaterManageVars($view)
      {
          $view->isGeoIp2Available = $this->isGeoIp2Enabled();
  
          if ($this->isGeoIp2Enabled()) {
              // Get GeoIPLegacy Update information to show them
              $urls = GeoIPAutoUpdater::getConfiguredUrls();
  
              $view->geoIPLegacyLocUrl = $urls['loc'];
              $view->geoIPLegacyIspUrl = $urls['isp'];
              $view->geoIPLegacyOrgUrl = $urls['org'];
              $view->geoIPLegacyUpdatePeriod = GeoIPAutoUpdater::getSchedulePeriod();
  
              $urls = GeoIP2AutoUpdater::getConfiguredUrls();
  
              $view->geoIPLocUrl = $urls['loc'];
              $view->geoIPIspUrl = $urls['isp'];
              $view->geoIPUpdatePeriod = GeoIP2AutoUpdater::getSchedulePeriod();
  
              $view->geoLiteUrl = GeoIp2::GEO_LITE_URL;
              $view->geoLiteFilename = 'GeoLite2-City.mmdb';
              $view->nextRunTime = GeoIP2AutoUpdater::getNextRunTime();
  
              $lastRunTime = GeoIP2AutoUpdater::getLastRunTime();
          } else {
              $urls = GeoIPAutoUpdater::getConfiguredUrls();
  
              $view->geoIPLocUrl = $urls['loc'];
              $view->geoIPIspUrl = $urls['isp'];
              $view->geoIPOrgUrl = $urls['org'];
              $view->geoIPUpdatePeriod = GeoIPAutoUpdater::getSchedulePeriod();
  
              $view->geoLiteUrl = GeoIp::GEO_LITE_URL;
              $view->geoLiteFilename = 'GeoLiteCity.dat';
              $view->nextRunTime = GeoIPAutoUpdater::getNextRunTime();
  
              $lastRunTime = GeoIPAutoUpdater::getLastRunTime();
          }
  
          if ($lastRunTime !== false) {
              $view->lastTimeUpdaterRun = '<strong>' . $lastRunTime->toString() . '</strong>';
          }
     }
code: private function setUpdaterManageVars($view)
      {
          $view->isGeoIp2Available = $this->isGeoIp2Enabled();
  
          if ($this->isGeoIp2Enabled()) {
              // Get GeoIPLegacy Update information to show them
              $urls = GeoIPAutoUpdater::getConfiguredUrls();
  
              $view->geoIPLegacyLocUrl = $urls['loc'];
              $view->geoIPLegacyIspUrl = $urls['isp'];
              $view->geoIPLegacyOrgUrl = $urls['org'];
              $view->geoIPLegacyUpdatePeriod = GeoIPAutoUpdater::getSchedulePeriod();
  
              $urls = GeoIP2AutoUpdater::getConfiguredUrls();
  
              $view->geoIPLocUrl = $urls['loc'];
              $view->geoIPIspUrl = $urls['isp'];
              $view->geoIPUpdatePeriod = GeoIP2AutoUpdater::getSchedulePeriod();
  
              $view->geoLiteUrl = GeoIp2::GEO_LITE_URL;
              $view->geoLiteFilename = 'GeoLite2-City.mmdb';
              $view->nextRunTime = GeoIP2AutoUpdater::getNextRunTime();
  
              $lastRunTime = GeoIP2AutoUpdater::getLastRunTime();
          } else {
              $urls = GeoIPAutoUpdater::getConfiguredUrls();
  
              $view->geoIPLocUrl = $urls['loc'];
              $view->geoIPIspUrl = $urls['isp'];
              $view->geoIPOrgUrl = $urls['org'];
              $view->geoIPUpdatePeriod = GeoIPAutoUpdater::getSchedulePeriod();
  
              $view->geoLiteUrl = GeoIp::GEO_LITE_URL;
              $view->geoLiteFilename = 'GeoLiteCity.dat';
              $view->nextRunTime = GeoIPAutoUpdater::getNextRunTime();
  
              $lastRunTime = GeoIPAutoUpdater::getLastRunTime();
          }
  
          if ($lastRunTime !== false) {
              $view->lastTimeUpdaterRun = '<strong>' . $lastRunTime->toString() . '</strong>';
          }
     }
code_tokens: private function setUpdaterManageVars ( $ view ) { $ view -> isGeoIp2Available = $ this -> isGeoIp2Enabled ( ) ; if ( $ this -> isGeoIp2Enabled ( ) ) { // Get GeoIPLegacy Update information to show them $ urls = GeoIPAutoUpdater :: getConfiguredUrls ( ) ; $ view -> geoIPLegacyLocUrl = $ urls [ 'loc' ] ; $ view -> geoIPLegacyIspUrl = $ urls [ 'isp' ] ; $ view -> geoIPLegacyOrgUrl = $ urls [ 'org' ] ; $ view -> geoIPLegacyUpdatePeriod = GeoIPAutoUpdater :: getSchedulePeriod ( ) ; $ urls = GeoIP2AutoUpdater :: getConfiguredUrls ( ) ; $ view -> geoIPLocUrl = $ urls [ 'loc' ] ; $ view -> geoIPIspUrl = $ urls [ 'isp' ] ; $ view -> geoIPUpdatePeriod = GeoIP2AutoUpdater :: getSchedulePeriod ( ) ; $ view -> geoLiteUrl = GeoIp2 :: GEO_LITE_URL ; $ view -> geoLiteFilename = 'GeoLite2-City.mmdb' ; $ view -> nextRunTime = GeoIP2AutoUpdater :: getNextRunTime ( ) ; $ lastRunTime = GeoIP2AutoUpdater :: getLastRunTime ( ) ; } else { $ urls = GeoIPAutoUpdater :: getConfiguredUrls ( ) ; $ view -> geoIPLocUrl = $ urls [ 'loc' ] ; $ view -> geoIPIspUrl = $ urls [ 'isp' ] ; $ view -> geoIPOrgUrl = $ urls [ 'org' ] ; $ view -> geoIPUpdatePeriod = GeoIPAutoUpdater :: getSchedulePeriod ( ) ; $ view -> geoLiteUrl = GeoIp :: GEO_LITE_URL ; $ view -> geoLiteFilename = 'GeoLiteCity.dat' ; $ view -> nextRunTime = GeoIPAutoUpdater :: getNextRunTime ( ) ; $ lastRunTime = GeoIPAutoUpdater :: getLastRunTime ( ) ; } if ( $ lastRunTime !== false ) { $ view -> lastTimeUpdaterRun = '<strong>' . $ lastRunTime -> toString ( ) . '</strong>' ; } }
docstring: Sets some variables needed by the _updaterManage.twig template.
  
  @param View $view
docstring_tokens: Sets some variables needed by the _updaterManage . twig template .