Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unneeded extending of calendarize event model #155

Merged
merged 1 commit into from
Dec 8, 2023
Merged
Show file tree
Hide file tree
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
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;