diff --git a/Classes/Domain/Model/Event.php b/Classes/Domain/Model/Event.php deleted file mode 100644 index a11d3a1..0000000 --- a/Classes/Domain/Model/Event.php +++ /dev/null @@ -1,82 +0,0 @@ - - * All rights reserved - * - * This script is part of the TYPO3 project. The TYPO3 project is - * free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * The GNU General Public License can be found at - * http://www.gnu.org/copyleft/gpl.html. - * - * This script is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * This copyright notice MUST APPEAR in all copies of the script! - ***************************************************************/ - -declare (strict_types = 1); - -namespace Bobosch\OdsOsm\Domain\Model; - -/** - * Event (Default) for the calendarize function. - * - * @DatabaseTable - */ -class Event extends \HDNET\Calendarize\Domain\Model\Event - -{ - /** - * Title. - * - * @var float - */ - protected $txOdsosmLon = ''; - - /** - * Slug. - * - * @var float - */ - protected $txOdsosmLat = ''; - - /** - * @return float - */ - public function getTxOdsosmLon(): ?float - { - return $this->txOdsosmLon; - } - - /** - * @param float $slug - */ - public function SetTxOdsosmLon(string $txOdsosmLon): void - { - $this->txOdsosmLon = $txOdsosmLon; - } - - /** - * @return float - */ - public function getTxOdsosmLat(): ?float - { - return $this->txOdsosmLat; - } - - /** - * @param float $slug - */ - public function SetTxOdsosmLat(string $txOdsosmLat): void - { - $this->txOdsosmLat = $txOdsosmLat; - } -} diff --git a/Configuration/Extbase/Persistence/Classes.php b/Configuration/Extbase/Persistence/Classes.php deleted file mode 100644 index 677436d..0000000 --- a/Configuration/Extbase/Persistence/Classes.php +++ /dev/null @@ -1,13 +0,0 @@ - [ - 'tableName' => 'tx_calendarize_domain_model_event', - ], - ]; -} diff --git a/ext_localconf.php b/ext_localconf.php index aa3fe90..fc087f4 100644 --- a/ext_localconf.php +++ b/ext_localconf.php @@ -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;