Skip to content

Commit 1aa67c9

Browse files
committed
1 parent e5c7a27 commit 1aa67c9

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

Classes/UpgradeWizard/PluginImageFieldWizard.php

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
* LICENSE.txt file that was distributed with this source code.
1010
*/
1111

12+
use TYPO3\CMS\Install\Attribute\UpgradeWizard;
13+
14+
#[UpgradeWizard(PluginImageFieldWizard::class)]
1215
class PluginImageFieldWizard extends AbstractUpgradeWizard
1316
{
1417
public function getTitle(): string

Classes/UpgradeWizard/PluginListTypeWizard.php

+7-1
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,19 @@
99
* LICENSE.txt file that was distributed with this source code.
1010
*/
1111

12+
use TYPO3\CMS\Install\Attribute\UpgradeWizard;
13+
14+
#[UpgradeWizard(PluginListTypeWizard::class)]
1215
class PluginListTypeWizard extends AbstractUpgradeWizard
1316
{
1417
public function getTitle(): string
1518
{
16-
return 'Generic Gallery: Migrate old plugin list type name';
19+
return 'Generic Gallery: Migrate old plugin list type name (TYPO3 v6)';
1720
}
1821

22+
/**
23+
* @deprecated Remove this with TYPO3 14 as this migration is ancient.
24+
*/
1925
public function executeUpdate(): bool
2026
{
2127
$table = 'tt_content';

ext_localconf.php

-6
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,4 @@
7272
$GLOBALS['TYPO3_CONF_VARS']['SYS']['fal']['registeredCollections']['images'] =
7373
StaticFileCollection::class;
7474
}
75-
76-
// Upgrade wizards
77-
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update'][UpgradeWizard\PluginListTypeWizard::class]
78-
= UpgradeWizard\PluginListTypeWizard::class;
79-
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update'][UpgradeWizard\PluginImageFieldWizard::class]
80-
= UpgradeWizard\PluginImageFieldWizard::class;
8175
});

0 commit comments

Comments
 (0)