Feat: Add custom log tables to config for scheduled cleanup

This commit is contained in:
Björn Fromme
2023-07-06 10:14:46 +02:00
parent 8316bdaf74
commit 5143427ca4
@@ -308,6 +308,16 @@ $boot = function () {
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['teamSlug'] = $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['teamSlug'] =
\EP\EpProducts\Updates\TeamSlugUpdater::class; \EP\EpProducts\Updates\TeamSlugUpdater::class;
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][\TYPO3\CMS\Scheduler\Task\TableGarbageCollectionTask::class]['options']['tables']['tx_epproducts_log'] = [
'dateField' => 'time_micro',
'expirePeriod' => '180',
];
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][\TYPO3\CMS\Scheduler\Task\TableGarbageCollectionTask::class]['options']['tables']['tx_epevents_log'] = [
'dateField' => 'time_micro',
'expirePeriod' => '180',
];
}; };
$boot(); $boot();