Feat: Add custom log tables to config for scheduled cleanup
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user