Skip to content

Commit

Permalink
Disable 'verify if module is latest' for shops under 1.7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
matks committed Sep 12, 2023
1 parent bd9fc65 commit 1a92a6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/UpgradeSelfCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,8 @@ public function isModuleVersionLatest()
{
$shopCurrentVersion = $this->upgrader->getCurrentPSVersion();

// For versions under 8.0.0, do not perform the check
if (version_compare($shopCurrentVersion, '8.0.0', '<')) {
// For versions under 1.7.0.0, do not perform the check
if (version_compare($shopCurrentVersion, '1.7.0.0', '<')) {
return true;
}

Expand Down

0 comments on commit 1a92a6b

Please sign in to comment.