Disable update on development environments
This commit is contained in:
parent
4bfde037a5
commit
9b6e4242a0
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue