Update util.d

* Remove running version obsolete flag as this causes a false flagging as obsolete
This commit is contained in:
abraunegg 2023-06-20 11:17:29 +10:00
parent 25cc361277
commit f8d0c83939

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