mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +00:00
Removed pre-release special version handling
This commit is contained in:
@@ -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) {
|
||||
|
@@ -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()
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
@@ -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()
|
||||
]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user