Enable update checks on dev environments

This commit is contained in:
grandeljay 2022-06-14 16:27:43 +02:00
parent 3c14a927f4
commit 569d21e707

View file

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