Disable update on development environments

This commit is contained in:
Jay Trees 2022-04-14 10:56:37 +02:00
parent 4bfde037a5
commit 9b6e4242a0

View file

@ -142,7 +142,7 @@ if (!$options || !$options->getOption('isInstalled')) {
/** /**
* Database Update * Database Update
*/ */
if ($options && $options->getOption('isInstalled')) { if ($options && $options->getOption('isInstalled') && !(defined('ENV_IS_DEV') && ENV_IS_DEV)) {
if (-1 === version_compare($options->version, VERSION)) { if (-1 === version_compare($options->version, VERSION)) {
$options->setOption('updateAvailable', true); $options->setOption('updateAvailable', true);
} }