Fixed access to magic method that no longer exists

This commit is contained in:
Alejandro Celaya 2020-08-09 10:46:44 +02:00
parent 87e8ae7af6
commit 714a58945e

View file

@ -52,7 +52,7 @@ class GeolocationDbUpdater implements GeolocationDbUpdaterInterface
}
$meta = $this->geoLiteDbReader->metadata();
if ($this->buildIsTooOld($meta->__get('buildEpoch'))) {
if ($this->buildIsTooOld($meta->buildEpoch)) {
$this->downloadNewDb(true, $mustBeUpdated, $handleProgress);
}
}