Update util.d (#2428)

* Remove running version obsolete flag as this causes a false flagging as obsolete
This commit is contained in:
abraunegg 2023-06-20 11:18:20 +10:00 committed by GitHub
parent 25cc361277
commit 3340fcca6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -527,12 +527,6 @@ void checkApplicationVersion() {
thisVersionReleaseGracePeriod = thisVersionReleaseGracePeriod.add!"months"(1);
log.vdebug("thisVersionReleaseGracePeriod: ", thisVersionReleaseGracePeriod);
// is the published latestest release date greater than the current running release date + grace period
if (thisVersionReleaseGracePeriod.toUnixTime() < publishedDate.toUnixTime()) {
// the running client is obsolete
displayObsolete = true;
}
// is this running version obsolete ?
if (!displayObsolete) {
// if releaseGracePeriod > currentTime