mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-09 16:59:37 +00:00
Use version info from updateChecker to be consistent
This commit is contained in:
parent
2b94ff952c
commit
29a08d152a
2 changed files with 2 additions and 6 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue