Skip to content

Commit

Permalink
we have improved a script for uninstall
Browse files Browse the repository at this point in the history
  • Loading branch information
mgopin3 committed Jan 16, 2024
1 parent 464ab75 commit 788d2ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.j2migrationchecker.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function preflight($type, $parent)
if (JFile::exists($version_file)) {
require_once($version_file);
// abort if the current J2Store release is older
if (version_compare(J2STORE_VERSION, '3.99.99', 'ge')) {
if (($type == 'install') && version_compare(J2STORE_VERSION, '3.99.99', 'ge')) {
$app->enqueueMessage('You are using an latest version of J2Store. No need to migrate', 'warning');
return false;
}
Expand Down

0 comments on commit 788d2ec

Please sign in to comment.