*
* The TYPO3 project - inspiring people to share!
*/
+
use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Registry;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Install\Updates\RowUpdater\ImageCropUpdater;
use TYPO3\CMS\Install\Updates\RowUpdater\L10nModeUpdater;
use TYPO3\CMS\Install\Updates\RowUpdater\RowUpdaterInterface;
+use TYPO3\CMS\Install\Updates\RowUpdater\RteLinkSyntaxUpdater;
/**
* This is a generic updater to migrate content of TCA rows.
protected $rowUpdater = [
L10nModeUpdater::class,
ImageCropUpdater::class,
+ RteLinkSyntaxUpdater::class,
];
/**
reset($listOfAllTables);
$firstTable = current($listOfAllTables);
$startPosition = $this->getStartPosition($firstTable);
- foreach ($listOfAllTables as $table) {
+ foreach ($listOfAllTables as $key => $table) {
if ($table === $startPosition['table']) {
break;
} else {
- unset($listOfAllTables[$table]);
+ unset($listOfAllTables[$key]);
}
}
protected function getStartPosition(string $firstTable): array
{
$registry = GeneralUtility::makeInstance(Registry::class);
- $startPosition = $registry->get('installUpdateRows', 'rowUpdaterPosition', []);
+ $startPosition = $registry->get('installUpdateRows', 'rowUpdatePosition', []);
if (empty($startPosition)) {
$startPosition = [
'table' => $firstTable,