mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-21 15:56:51 +01:00
* [FIX] Upgrade not needed when updating between v3 releases. Thanks to @vmarion89 for the feedback. Closes #1210
This commit is contained in:
@@ -280,12 +280,15 @@ final class Init extends ModuleBase
|
||||
|
||||
/**
|
||||
* Comprobar si es necesario actualizar componentes
|
||||
* @throws \SP\Storage\File\FileException
|
||||
*/
|
||||
private function checkUpgrade()
|
||||
{
|
||||
UpgradeUtil::fixAppUpgrade($this->configData, $this->config);
|
||||
|
||||
return $this->configData->getUpgradeKey()
|
||||
|| (UpgradeDatabaseService::needsUpgrade($this->configData->getDatabaseVersion()) ||
|
||||
UpgradeAppService::needsUpgrade(UpgradeUtil::fixVersionNumber($this->configData->getAppVersion())));
|
||||
UpgradeAppService::needsUpgrade($this->configData->getAppVersion()));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user