2 namespace TYPO3\CMS\Install\Controller\Action\Ajax;
83 if (!$this->coreUpdateService->isCoreUpdateEnabled()) {
84 throw new \TYPO3\CMS\Install\Controller\Exception(
85 'Core Update disabled in this environment',
101 $getVars = \TYPO3\CMS\Core\Utility\GeneralUtility::_GET(
'install');
102 if (!isset($getVars[
'type'])) {
103 throw new \TYPO3\CMS\Install\Controller\Exception(
104 'Type must be set to either "regular" or "development"',
108 $type = $getVars[
'type'];
109 if ($type ===
'development') {
110 $versionToHandle = $this->coreVersionService->getYoungestPatchDevelopmentRelease();
112 $versionToHandle = $this->coreVersionService->getYoungestPatchRelease();
114 return $versionToHandle;