Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion Classes/Updates/PluginListTypeToCTypeUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,21 @@

namespace HDNET\Calendarize\Updates;

use TYPO3\CMS\Core\Upgrades\AbstractListTypeToCTypeUpdate;
// Use the EXT:install namespace to remain compatible with both v13 and v14
// @todo Use v14 namespaces for UpgradeWizard and AbstractListTypeToCTypeUpdate when support for v13 is dropped

// v14
//use TYPO3\CMS\Core\Attribute\UpgradeWizard;
// v13 path, works for v13 and v14
use TYPO3\CMS\Install\Attribute\UpgradeWizard;

// v14
//use TYPO3\CMS\Core\Upgrades\AbstractListTypeToCTypeUpdate;
// v13 path, works for v13 and v14
use TYPO3\CMS\Install\Updates\AbstractListTypeToCTypeUpdate;


#[UpgradeWizard('calendarize_pluginListTypeToCTypeUpdate')]
class PluginListTypeToCTypeUpdate extends AbstractListTypeToCTypeUpdate
{
protected function getListTypeToCTypeMapping(): array
Expand Down
Loading