UNA
|
Public Member Functions | |
prepare ($bAuto=true) | |
getLatestVersionNumber () | |
getVersionUpdateInfo () | |
isNewVersionAvailable ($a) | |
isUpgradeAvailable ($a) | |
setTransientUpgradeCronJob ($sUnpackedPath) | |
getError () | |
Protected Attributes | |
$_sUrlVersionCheck = 'https://v.unacms.com/' | |
$_sError = false | |
BxDolUpgrader::prepare | ( | $bAuto = true | ) |
Prepare for system upgrade. It prepares upgrade by downloading upgrade pack and performing different checks. After all check are successfully completed, transient cron job is set to run upgrade upon next cron run.
NOTE. Temporary disabled. TODO. Enable after "Main Version Compatibility Check" will be performed for updates.
if(!$bAuto) { $aUpdates = BxDolStudioInstallerUtils\getInstance()->checkUpdates(); if(!empty($aUpdates) && is_array($aUpdates)) { $this->setError(_t('_sys_upgrade_modules_upgrade_first')); break; } }