diff --git a/typo3/sysext/scheduler/Documentation/Installation/BaseTasks/Index.rst b/typo3/sysext/scheduler/Documentation/Installation/BaseTasks/Index.rst index f366aaffef5f1c9437aa5cbe874bb9fd866b5971..d961917bf772293f1f233233e59c7a773392acb4 100644 --- a/typo3/sysext/scheduler/Documentation/Installation/BaseTasks/Index.rst +++ b/typo3/sysext/scheduler/Documentation/Installation/BaseTasks/Index.rst @@ -67,15 +67,13 @@ Example :: - $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][\TYPO3\CMS\Scheduler\Task\TableGarbageCollectionTask::class]['options']['tables'] = array( - 'tx_realurl_errorlog' => array( - 'dateField' => 'tstamp', - 'expirePeriod' => '180' - ), - 'tx_realurl_uniqalias' => array( - 'expireField' => 'expire' - ) - ); + $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][\TYPO3\CMS\Scheduler\Task\TableGarbageCollectionTask::class]['options']['tables']['tx_realurl_errorlog'] = [ + 'dateField' => 'tstamp', + 'expirePeriod' => '180', + ]; + $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][\TYPO3\CMS\Scheduler\Task\TableGarbageCollectionTask::class]['options']['tables']['tx_realurl_uniqalias'] = [ + 'expireField' => 'expire', + ]; The first part of the configuration indicates that records older than 180 days should be removed from table :code:`tx_realurl_errorlog` ,