updater: log a message when an update was found, but it's an older version

This commit is contained in:
Dylan K. Taylor 2021-12-08 21:55:44 +00:00
parent 264cff70ec
commit f48cf68cac
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -192,6 +192,8 @@ class AutoUpdater{
if($currentVersion->compare($newVersion) > 0 and ($currentVersion->getFullVersion() !== $newVersion->getFullVersion() or $currentVersion->getBuild() > 0)){
$this->newVersion = $newVersion;
}else{
$this->server->getLogger()->debug("[AutoUpdater] API reported version is an older version or the same version (" . $newVersion->getFullVersion() . "), not showing notification");
}
}