diff options
Diffstat (limited to 'plugins/UserCountry/Controller.php')
-rw-r--r-- | plugins/UserCountry/Controller.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/UserCountry/Controller.php b/plugins/UserCountry/Controller.php index 38fc6e94ff..cef3a3051a 100644 --- a/plugins/UserCountry/Controller.php +++ b/plugins/UserCountry/Controller.php @@ -162,6 +162,12 @@ class Piwik_UserCountry_Controller extends Piwik_Controller_Admin $view->geoIPUpdatePeriod = Piwik_UserCountry_GeoIPAutoUpdater::getSchedulePeriod(); $view->geoLiteUrl = Piwik_UserCountry_LocationProvider_GeoIp::GEO_LITE_URL; + + $lastRunTime = Piwik_UserCountry_GeoIPAutoUpdater::getLastRunTime(); + if ($lastRunTime !== false) + { + $view->lastTimeUpdaterRun = '<strong><em>'.$lastRunTime->toString().'</em></strong>'; + } } /** |