This commit is contained in:
Jay Trees 2022-01-18 11:38:06 +01:00
parent e35a9ccc40
commit 250c98bf79

View file

@ -70,8 +70,10 @@ if (!$options) {
/**
* Update
*/
define('VERSION', '0.2.0');
if ($options) {
if (-1 === version_compare($options->version, '0.2.0')) {
if (-1 === version_compare($options->version, VERSION)) {
$options->updateAvailable = true;
$page = 'update';
}