mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-14 19:29:34 +01:00
Use version info from updateChecker to be consistent
This commit is contained in:
@@ -55,7 +55,7 @@ class UpdateExecutor
|
||||
private readonly LoggerInterface $logger,
|
||||
private readonly Filesystem $filesystem,
|
||||
private readonly InstallationTypeDetector $installationTypeDetector,
|
||||
private readonly VersionManagerInterface $versionManager,
|
||||
private readonly UpdateChecker $updateChecker,
|
||||
private readonly BackupManager $backupManager,
|
||||
private readonly CommandRunHelper $commandRunHelper,
|
||||
#[Autowire(param: 'app.debug_mode')]
|
||||
@@ -68,7 +68,7 @@ class UpdateExecutor
|
||||
*/
|
||||
private function getCurrentVersionString(): string
|
||||
{
|
||||
return $this->versionManager->getVersion()->toString();
|
||||
return $this->updateChecker->getCurrentVersionString();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user