parent
bc2593be4e
commit
205fdddc2b
@ -155,14 +155,14 @@ class Updater
|
|||||||
foreach ($versions as $alias => $version) {
|
foreach ($versions as $alias => $version) {
|
||||||
// Modules come as array
|
// Modules come as array
|
||||||
if ($alias == 'core') {
|
if ($alias == 'core') {
|
||||||
if (version_compare(version('short'), $version) != 0) {
|
if (version_compare(version('short'), $version, '<')) {
|
||||||
$data['core'] = $version;
|
$data['core'] = $version;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$module = module($alias);
|
$module = module($alias);
|
||||||
|
|
||||||
// Up-to-date
|
// Up-to-date
|
||||||
if (version_compare($module->get('version'), $version) == 0) {
|
if (version_compare($module->get('version'), $version, '>=')) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user