17 use TYPO3\CMS\Core\Configuration\ConfigurationManager;
33 return 'wizardDoneToRegistry';
41 return 'Move "wizard done" flags from LocalConfiguration.php to system registry';
49 return 'Moves all "wizard done" flags from LocalConfiguration.php to system registry.';
61 $wizardsDone = GeneralUtility::makeInstance(ConfigurationManager::class)
62 ->getLocalConfigurationValueByPath(
'INSTALL/wizardDone');
63 if (!empty($wizardsDone)) {
78 DatabaseUpdatedPrerequisite::class
89 $configurationManager = GeneralUtility::makeInstance(ConfigurationManager::class);
90 $registry = GeneralUtility::makeInstance(Registry::class);
91 $wizardsDone = $configurationManager->getLocalConfigurationValueByPath(
'INSTALL/wizardDone');
92 $configurationKeysToRemove = [];
93 foreach ($wizardsDone as $wizardClassName => $value) {
94 $registry->set(
'installUpdate', $wizardClassName, $value);
95 $configurationKeysToRemove[] =
'INSTALL/wizardDone/' . $wizardClassName;
97 $configurationKeysToRemove[] =
'INSTALL/wizardDone';
98 $configurationManager->removeLocalConfigurationKeysByPath($configurationKeysToRemove);