fix upgrade script

This commit is contained in:
Yuri Kuznetsov
2020-10-22 11:47:59 +03:00
parent e08a74b129
commit 7d5c0d754e
+2 -2
View File
@@ -86,9 +86,9 @@ class BeforeUpgrade
if ($extension) {
$version = $extension->get('version');
if (version_compare($version, '1.5.0', '<')) {
if (version_compare($version, '1.4.0', '<')) {
$message =
"EspoCRM 6.0.0 is not compatible with Real Estate extension of a version lower than 1.5.0. " .
"EspoCRM 6.0.0 is not compatible with Real Estate extension of a version lower than 1.4.0. " .
"Please upgrade the extension or uninstall it. Then run the upgrade command again.";
throw new Error($message);