Removed pre-release special version handling

This commit is contained in:
Bernd Bestel
2023-05-24 20:32:48 +02:00
parent 8c033ff6c8
commit 70bb014c9f
6 changed files with 11 additions and 20 deletions

View File

@@ -120,7 +120,6 @@ class BaseController
$versionInfo = $this->getApplicationService()->GetInstalledVersion();
$this->View->set('version', $versionInfo->Version);
$this->View->set('releaseDate', $versionInfo->ReleaseDate);
$localizationService = $this->getLocalizationService();
$this->View->set('__t', function (string $text, ...$placeholderValues) use ($localizationService) {

View File

@@ -75,7 +75,7 @@ class ExceptionController extends BaseApiController
return $this->renderPage($response->withStatus(500), 'errors/500', [
'exception' => $exception,
'system_info' => $this->getApplicationService()->GetSystemInfo()
'systemInfo' => $this->getApplicationService()->GetSystemInfo()
]);
}
}

View File

@@ -12,7 +12,8 @@ class SystemController extends BaseController
public function About(Request $request, Response $response, array $args)
{
return $this->renderPage($response, 'about', [
'system_info' => $this->getApplicationService()->GetSystemInfo(),
'systemInfo' => $this->getApplicationService()->GetSystemInfo(),
'versionInfo' => $this->getApplicationService()->GetInstalledVersion(),
'changelog' => $this->getApplicationService()->GetChangelog()
]);
}