Skip to content

Commit

Permalink
Update util.d (#2428)
Browse files Browse the repository at this point in the history
* Remove running version obsolete flag as this causes a false flagging as obsolete
  • Loading branch information
abraunegg committed Jun 20, 2023
1 parent 25cc361 commit 3340fcc
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/util.d
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3340fcc

Please sign in to comment.