Skip to content

Commit

Permalink
Merge pull request #155 from bobosch/task/fix-153-2
Browse files Browse the repository at this point in the history
Remove unneeded extending of calendarize event model
  • Loading branch information
albig committed Dec 8, 2023
2 parents 2ca6db2 + b703654 commit 3ff21b2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 114 deletions.
82 changes: 0 additions & 82 deletions Classes/Domain/Model/Event.php

This file was deleted.

13 changes: 0 additions & 13 deletions Configuration/Extbase/Persistence/Classes.php

This file was deleted.

20 changes: 1 addition & 19 deletions ext_localconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,22 +89,4 @@
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['odsOsmFileLocationUpdater']
= FileLocationUpdater::class;
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['odsOsmMigrateSettings']
= MigrateSettings::class;

call_user_func(
function () {
if (ExtensionManagementUtility::isLoaded('calendarize')) {
// XCLASS event
$GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects'][Event::class] = [
'className' => \Bobosch\OdsOsm\Domain\Model\Event::class
];

// Register extended domain class
GeneralUtility::makeInstance(Container::class)
->registerImplementation(
Event::class,
\Bobosch\OdsOsm\Domain\Model\Event::class
);
}
}
);
= \Bobosch\OdsOsm\Updates\MigrateSettings::class;

0 comments on commit 3ff21b2

Please sign in to comment.