[TASK] Remove unused variable $field
[Packages/TYPO3.CMS.git] / typo3 / sysext / scheduler / Classes / Task / TableGarbageCollectionTask.php
index 3722795..d94d66b 100644 (file)
@@ -89,7 +89,6 @@ class TableGarbageCollectionTask extends \TYPO3\CMS\Scheduler\Task\AbstractTask
                        // Expire field = 0 means no expiration
                        $where = $field . ' <= \'' . $dateLimit . '\' AND ' . $field . ' > \'0\'';
                } elseif (!empty($configuration['dateField'])) {
-                       $field = $configuration['dateField'];
                        if (!$this->allTables) {
                                $deleteTimestamp = strtotime('-' . $this->numberOfDays . 'days');
                        } else {