mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Never mark core modules as needing update in autoinstall
This commit is contained in:
parent
aacc387d55
commit
0e0dce05a8
3 changed files with 12 additions and 4 deletions
|
|
@ -211,7 +211,11 @@ class autoinstallAdminView extends autoinstall
|
|||
$v->current_version = $packages[$v->package_srl]->current_version;
|
||||
// if version is up
|
||||
// insert Y
|
||||
if(version_compare($v->item_version, $v->current_version, '>'))
|
||||
if($v->current_version === 'RX_VERSION')
|
||||
{
|
||||
$v->need_update = 'N';
|
||||
}
|
||||
elseif(version_compare($v->item_version, $v->current_version, '>'))
|
||||
{
|
||||
$v->need_update = 'Y';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue