Refactor
This commit is contained in:
parent
8913337de7
commit
b8c5ef0419
1 changed files with 1 additions and 3 deletions
|
@ -6,8 +6,6 @@
|
||||||
* @author Jay Trees <github.jay@grandel.anonaddy.me>
|
* @author Jay Trees <github.jay@grandel.anonaddy.me>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$version_new = '0.1.0';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Include
|
* Include
|
||||||
*/
|
*/
|
||||||
|
@ -73,7 +71,7 @@ if (!$options) {
|
||||||
* Update
|
* Update
|
||||||
*/
|
*/
|
||||||
if ($options) {
|
if ($options) {
|
||||||
if (-1 === version_compare($options->version, $version_new)) {
|
if (-1 === version_compare($options->version, '0.2.0')) {
|
||||||
$options->updateAvailable = true;
|
$options->updateAvailable = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue