Commit 11079fe0 authored by Andreas Bouche's avatar Andreas Bouche Committed by Benni Mack
Browse files

[TASK] Remove version matrix hack from CoreVersionService

Replace the old 'manual' way of reducing the version
matrix with an automatic solution.

Resolves: #69935
Releases: master
Change-Id: Iec8a650e0ffd471e66d6a6b495eff7170e634356

Reviewed-by: default avatarMorton Jonuschat <>
Tested-by: default avatarMorton Jonuschat <>
Reviewed-by: default avatarMichael Oehlhof <>
Tested-by: default avatarMichael Oehlhof <>
Reviewed-by: Benni Mack's avatarBenni Mack <>
Tested-by: Benni Mack's avatarBenni Mack <>
parent aa75e880
......@@ -75,14 +75,14 @@ class CoreVersionService {
public function updateVersionMatrix() {
$versionArray = $this->fetchVersionMatrixFromRemote();
// This is a 'hack' to keep the string stored in the registry small. We are usually only
// interested in information from 7 and up and older releases do not matter in current
// use cases. If this unset() is removed and everything is stored for some reason, the
// table sys_file field entry_value needs to be extended from blob to longblob.
unset($versionArray['6.2'], $versionArray['6.1'], $versionArray['6.0'], $versionArray['4.7'], $versionArray['4.6'],
$versionArray['4.5'], $versionArray['4.4'], $versionArray['4.3'], $versionArray['4.2'],
$versionArray['4.1'], $versionArray['4.0'], $versionArray['3.8'], $versionArray['3.7'],
$versionArray['3.6'], $versionArray['3.5'], $versionArray['3.3']);
$installedMajorVersion = (int)$this->getInstalledMajorVersion();
foreach ($versionArray as $versionNumber => $versionDetails) {
if (is_array($versionDetails) && (int)$this->getMajorVersion($versionNumber) < $installedMajorVersion) {
$this->registry->set('TYPO3.CMS.Install', 'coreVersionMatrix', $versionArray);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment